1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

make clean

This commit is contained in:
Gabor Adam Toth 2011-05-10 16:54:40 +02:00
parent 79d3adcd9c
commit 248e9234e1
3 changed files with 8 additions and 1 deletions

View file

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

View file

@ -11,3 +11,6 @@ libdir:
${LIBS}: libdir ${LIBS}: libdir
${INSTALL} $@ ${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 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 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: CC := ${WRAPPER} ${CC}
all: lib all: lib
@ -30,7 +31,7 @@ itoa: itoa.c
it: match it: match
clean: clean:
rm -f $O ../lib/libpsyc.a rm -f $O $P
help: help:
@/bin/echo -e "Usage:\n\tmake - compile\n\tmake diet - compile with diet libc" @/bin/echo -e "Usage:\n\tmake - compile\n\tmake diet - compile with diet libc"