3 INCS
= -I
/usr
/X11R6
/include/X11
4 LIBS
= -L
/usr
/X11R6
/lib
-lXpm
-lXext
-lX11
6 exec_prefix = $(prefix)
7 bindir = $(exec_prefix)/bin
10 INSTALL_PROGRAM
= $(INSTALL
)
13 all: cputnik.c docklib.o master.h mask.h
14 gcc
$(CFLAGS
) $(INCS
) docklib.o cputnik.c
-o cputnik
$(LIBS
)
16 docklib.o
: docklib.c docklib.h
17 gcc
$(CFLAGS
) $(INCS
) -c docklib.c
20 $(MKDIR_P
) $(DESTDIR
)$(bindir)
21 $(INSTALL_PROGRAM
) cputnik
$(DESTDIR
)$(bindir)
24 rm -f
$(DESTDIR
)$(bindir)/cputnik