3 INCDIR
= -I
/usr
/X11R6
/include/X11
-I
/usr
/X11R6
/include
5 LIBDIR
= -L
/usr
/X11R6
/lib
7 LIBS
= -lXpm
-lX11
-lXext
9 # LIBS = -lXpm -lX11 -lXext -lsocket
15 $(CC
) $(CFLAGS
) -D
$(shell echo
`uname -s`) -c
$< -o
$*.o
$(INCDIR
)
18 all: wmWeather.o wmWeather
20 wmWeather.o
: wmWeather_master.xpm wmWeather_mask.xbm
22 $(CC
) $(CFLAGS
) $(SYSTEM
) -o wmWeather
$^
$(INCDIR
) $(LIBDIR
) $(LIBS
)
25 for i in
$(OBJS
) ; do \
31 install -c
-s
-m
0755 wmWeather
$(DESTDIR
)/bin
32 install -c
-m
0755 GrabWeather
$(DESTDIR
)/bin
33 install -c
-m
0644 wmWeather
.1 $(DESTDIR
)/man
/man1