Makefile

changeset 5
2fc2b426ace9
parent 0
745037d69d81
child 6
aed399ff850b
     1.1 --- a/Makefile	Tue Aug 26 19:14:23 2008 +0100
     1.2 +++ b/Makefile	Tue Aug 26 21:59:54 2008 +0100
     1.3 @@ -3,17 +3,20 @@
     1.4  
     1.5  .PHONY:	all clean
     1.6  
     1.7 -all:	liblpfk.so lpfktest
     1.8 +all:	liblpfk.so lpfktest lpfklife
     1.9  	ldconfig -n .
    1.10  
    1.11  clean:
    1.12 -	-rm -f lpfktest
    1.13 -	-rm -f liblpfk.so*
    1.14 -	-rm -f src/*.o
    1.15 -	-rm -f test/*.o
    1.16 +	-rm -f lpfktest liblpfk.so*
    1.17 +	-rm -f src/*.o test/*.o
    1.18 +	-rf -f src/*~ test/*~ *~
    1.19  
    1.20  liblpfk.so:	src/liblpfk.o
    1.21  	$(CC) -shared -Wl,-soname,$(SONAME) -o $@ $<
    1.22  
    1.23  lpfktest:	test/lpfktest.o
    1.24  	$(CC) -o $@ $< -L. -llpfk
    1.25 +
    1.26 +lpfklife:	test/lpfklife.o
    1.27 +	$(CC) -o $@ $< -L. -llpfk
    1.28 +