3 INCDIR
= -I
/usr
/X11R6
/include/X11
5 LIBDIR
= -L
/usr
/X11R6
/lib
7 LIBS
= -lXpm
-lX11
-lXext
-ldockapp
9 # LIBS = -lXpm -lX11 -lXext -lsocket
10 OBJS
= wmSpaceWeather.o
14 $(CC
) $(COPTS
) -D
$(shell echo
`uname -s`) -c
$< -o
$*.o
$(INCDIR
)
17 all: wmSpaceWeather.o wmSpaceWeather
19 wmSpaceWeather.o
: wmSpaceWeather_master.xpm wmSpaceWeather_mask.xbm
20 wmSpaceWeather
: $(OBJS
)
21 $(CC
) $(COPTS
) $(SYSTEM
) -o wmSpaceWeather
$^
$(INCDIR
) $(LIBDIR
) $(LIBS
)
24 for i in
$(OBJS
) ; do \
29 install:: wmSpaceWeather
30 install -s
-m
0755 wmSpaceWeather
$(DESTDIR
)/bin
31 install -m
0755 GetKp
$(DESTDIR
)/bin
32 install -m
0644 wmSpaceWeather
.1 $(DESTDIR
)/man
/man1