dockapps/wmbutton/Makefile
Rodolfo García Peñas (kix) 6dcdbf0e6e wmbutton dockapp added
The original wmbutton 0.6.1 is added to the repository.

wmbutton is a dockapp with nine buttons (3x3), capable of launch 27
different applications using the left, middle and right buttons.
2012-08-21 20:40:59 +01:00

30 lines
657 B
Makefile

INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
LIBS = -lX11 -lXpm -lXext
TARGET = wmbutton
OBJECTS = wmbutton.o wmb_libs.o
CFLAGS += -c -Wall -O2
all: ${TARGET} tags
.c.o:
gcc ${CFLAGS} ${INCLUDES} $< -o $*.o
${TARGET}: ${OBJECTS}
gcc -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
clean::
for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done
if [ -e ${TARGET} ] ; then rm ${TARGET}; fi
if [ -e tags ]; then rm tags; fi
if [ -e core ]; then rm core; fi
wmbutton.o: wmbutton.c wmbutton.h Makefile
wmb_libs.o: wmb_libs.c wmbutton.h Makefile
tags:
ctags *.[ch]