2016-12-19 02:59:46 +00:00
|
|
|
### Edit here as you like :)
|
|
|
|
BINDIR = /usr/local/bin
|
|
|
|
###
|
|
|
|
|
|
|
|
DEST = wmomikuzi
|
|
|
|
|
|
|
|
# Programs used to move the binary to the proper place.
|
|
|
|
INSTALL = /usr/bin/install
|
|
|
|
INSTALL_PROGRAM = ${INSTALL} -m 755
|
|
|
|
UNINSTALL_PROGRAM = rm -rf
|
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
OPTIMIZE = -O2
|
|
|
|
XLIBDIR = /usr/X11R6/lib
|
2016-12-27 01:19:15 +00:00
|
|
|
XLIB = -ldockapp -lXpm -lXext -lX11
|
2017-02-24 05:21:44 +00:00
|
|
|
OBJ = wmomikuzi.o
|
2016-12-19 02:59:46 +00:00
|
|
|
|
|
|
|
$(DEST) : $(OBJ)
|
|
|
|
$(CC) $(OBJ) -L$(XLIBDIR) $(XLIB) -o $(DEST)
|
|
|
|
|
|
|
|
wmomikuzi.o: wmomikuzi.c
|
|
|
|
$(CC) $(OPTIMIZE) $< -c
|
|
|
|
|
|
|
|
install:
|
|
|
|
$(INSTALL_PROGRAM) ./$(DEST) $(BINDIR)/$(DEST)
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
$(UNINSTALL_PROGRAM) $(BINDIR)/$(DEST)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(DEST) $(OBJ) *~
|