wmclockmon: import version 0.8.0
[dockapps.git] / wmomikuzi / Makefile
blob95c50d9f77daa7f1842e4de0619bcf5b3ccc1165
1 ### Edit here as you like :)
2 BINDIR = /usr/local/bin
3 ###
5 DEST = wmomikuzi
7 # Programs used to move the binary to the proper place.
8 INSTALL = /usr/bin/install
9 INSTALL_PROGRAM = ${INSTALL} -m 755
10 UNINSTALL_PROGRAM = rm -rf
12 CC = gcc
13 OPTIMIZE = -O2
14 XLIBDIR = /usr/X11R6/lib
15 XLIB = -ldockapp -lXpm -lXext -lX11
16 OBJ = wmomikuzi.o
18 $(DEST) : $(OBJ)
19 $(CC) $(OBJ) -L$(XLIBDIR) $(XLIB) -o $(DEST)
21 wmomikuzi.o: wmomikuzi.c
22 $(CC) $(OPTIMIZE) $< -c
24 install:
25 $(INSTALL_PROGRAM) ./$(DEST) $(BINDIR)/$(DEST)
27 uninstall:
28 $(UNINSTALL_PROGRAM) $(BINDIR)/$(DEST)
30 clean:
31 rm -rf $(DEST) $(OBJ) *~