996f7c41ad
wmmon: Added -f to rm The -f argument don't stop the make process if the file don't exists.
19 lines
300 B
Makefile
Executable file
19 lines
300 B
Makefile
Executable file
LIBDIR = -L/usr/X11R6/lib
|
|
LIBS = -lXpm -lXext -lX11
|
|
OBJS = wmmon.o \
|
|
../wmgeneral/wmgeneral.o \
|
|
../wmgeneral/misc.o \
|
|
../wmgeneral/list.o
|
|
|
|
|
|
.c.o:
|
|
cc -c -O2 -Wall $< -o $*.o
|
|
|
|
wmmon: $(OBJS)
|
|
cc -o wmmon $^ $(LIBDIR) $(LIBS)
|
|
|
|
clean::
|
|
for i in $(OBJS) ; do \
|
|
rm -f $$i;\
|
|
done
|
|
rm -f wmmon
|