make clean

This commit is contained in:
tg(x) 2011-05-10 16:54:40 +02:00
parent b1ae67135d
commit 6dbea6a69b
3 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,8 @@
all:
${MAKE} -C src
it: all
install: install-lib install-inc install-d
install-lib: all
@ -33,6 +35,7 @@ doc:
clean:
${MAKE} -C src clean
${MAKE} -C lib clean
${MAKE} -C test clean
rm -rf doc/html doc/latex doc/man

View File

@ -11,3 +11,6 @@ libdir:
${LIBS}: libdir
${INSTALL} $@ ${libdir}
clean:
rm -f ${LIBS}

View File

@ -5,6 +5,7 @@ DIET = diet
S = packet.c parse.c match.c render.c memmem.c itoa.c variable.c text.c
O = packet.o parse.o match.o render.o memmem.o itoa.o variable.o text.o
P = match itoa
all: CC := ${WRAPPER} ${CC}
all: lib
@ -30,7 +31,7 @@ itoa: itoa.c
it: match
clean:
rm -f $O ../lib/libpsyc.a
rm -f $O $P
help:
@/bin/echo -e "Usage:\n\tmake - compile\n\tmake diet - compile with diet libc"