3 INCDIR
= -I
/usr
/X11R6
/include/X11
-I
/usr
/X11R6
/include
5 LIBDIR
= -L
/usr
/X11R6
/lib
8 LIBS
= -lXpm
-lX11
-lXext
11 # LIBS = -lXpm -lX11 -lXext -lsocket -lnsl
18 $(CC
) $(CFLAGS
) -D
$(shell echo
`uname -s`) -c
$< -o
$*.o
$(INCDIR
)
21 all: wmCalClock.o wmCalClock
23 wmCalClock.o
: wmCalClock_master.xpm wmCalClock_mask.xbm
25 $(CC
) $(COPTS
) $(SYSTEM
) -o wmCalClock
$^
$(INCDIR
) $(LIBDIR
) $(LIBS
)
28 for i in
$(OBJS
) ; do \
34 install -c
-s
-m
0755 wmCalClock
$(DESTDIR
)/bin
35 install -c
-m
0644 wmCalClock
.1 $(DESTDIR
)/man
/man1