Makefile

changeset 8
fd84ec9e11df
parent 6
aed399ff850b
child 11
bfaaf539bc4d
     1.1 --- a/Makefile	Tue Aug 26 22:01:01 2008 +0100
     1.2 +++ b/Makefile	Tue Aug 26 22:05:07 2008 +0100
     1.3 @@ -1,11 +1,14 @@
     1.4  CFLAGS=-fPIC -g -I./include
     1.5  SONAME=liblpfk.so.1
     1.6  
     1.7 -.PHONY:	all clean
     1.8 +.PHONY:	all doc clean
     1.9  
    1.10  all:	liblpfk.so lpfktest lpfklife
    1.11  	ldconfig -n .
    1.12  
    1.13 +doc:	Doxyfile src/liblpfk.c include/liblpfk.h
    1.14 +	doxygen
    1.15 +
    1.16  clean:
    1.17  	-rm -f lpfktest liblpfk.so*
    1.18  	-rm -f src/*.o test/*.o
    1.19 @@ -20,3 +23,7 @@
    1.20  lpfklife:	test/lpfklife.o
    1.21  	$(CC) -o $@ $< -L. -llpfk
    1.22  
    1.23 +src/liblpfk.o:		include/liblpfk.h
    1.24 +test/lpfktest.o:	include/liblpfk.h
    1.25 +test/lpfklife.o:	include/liblpfk.h
    1.26 +