wmbattery: add --enable-hal and --enable-upower.
[dockapps.git] / wmtunlo / Makefile
blobbd142e524be5a64b8864a3ca799739f380530447
2 CFLAGS = -Wall -Os
3 INCS = -I/usr/X11R6/include/X11
4 LIBS = -L/usr/X11R6/lib -lXpm -lX11 -lXext -lm
5 INSTALL_PREFIX = /usr/local
8 wmtunlo: docklib.o wmtunlo.c mask.h master.h
9 gcc $(CFLAGS) $(INCS) docklib.o wmtunlo.c -o wmtunlo $(LIBS)
11 docklib.o: docklib.c docklib.h
12 gcc $(CFLAGS) $(INCS) -c docklib.c
14 install:
15 cp ./wmtunlo $(INSTALL_PREFIX)/bin
17 uninstall:
18 rm -f $(INSTALL_PREFIX)/bin/wmtunlo
20 clean:
21 rm -f *~ *.o wmtunlo