3 INCDIR
= -I
/usr
/X11R6
/include
5 LIBDIR
= -L
/usr
/X11R6
/lib
6 LIBS
= -lXpm
-lX11
-lXext
-ldockapp
10 $(CC
) $(COPTS
) -D
$(shell echo
`uname -s`) -c
$< -o
$*.o
$(INCDIR
)
14 wmapm.o
: wmapm_master.xpm wmapm_mask.xbm wmapm.h
16 $(CC
) $(COPTS
) $(SYSTEM
) -o wmapm
$^
$(INCDIR
) $(LIBDIR
) $(LIBS
)
19 for i in
$(OBJS
) ; do \
25 install -s
-m
0755 wmapm
$(DESTDIR
)/bin
26 install -m
0644 wmapm
.1 $(DESTDIR
)/man
/man1
27 chmod
+s
$(DESTDIR
)/bin
/wmapm