Makefile

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