69923dff37
From http://www.gnu-darwin.org/distfiles/wmtunlo-0.1.3.tar.gz (Note that this is not really gzipped; used "tar -xvf".)
24 lines
437 B
Makefile
24 lines
437 B
Makefile
|
|
CFLAGS = -Wall -Os
|
|
INCS = -I/usr/X11R6/include/X11
|
|
LIBS = -L/usr/X11R6/lib -lXpm -lX11 -lXext -lm
|
|
INSTALL_PREFIX = /usr/local
|
|
|
|
|
|
wmtunlo: docklib.o wmtunlo.c mask.h master.h
|
|
gcc $(CFLAGS) $(INCS) docklib.o wmtunlo.c -o wmtunlo $(LIBS)
|
|
|
|
docklib.o: docklib.c docklib.h
|
|
gcc $(CFLAGS) $(INCS) -c docklib.c
|
|
|
|
install:
|
|
cp ./wmtunlo $(INSTALL_PREFIX)/bin
|
|
|
|
uninstall:
|
|
rm -f $(INSTALL_PREFIX)/bin/wmtunlo
|
|
|
|
clean:
|
|
rm -f *~ *.o wmtunlo
|
|
|
|
|