Makefile

Tue, 26 Aug 2008 22:00:24 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Tue, 26 Aug 2008 22:00:24 +0100
changeset 6
aed399ff850b
parent 5
2fc2b426ace9
child 8
fd84ec9e11df
permissions
-rw-r--r--

fix typo in makefile that broke 'make clean'

     1 CFLAGS=-fPIC -g -I./include
     2 SONAME=liblpfk.so.1
     4 .PHONY:	all clean
     6 all:	liblpfk.so lpfktest lpfklife
     7 	ldconfig -n .
     9 clean:
    10 	-rm -f lpfktest liblpfk.so*
    11 	-rm -f src/*.o test/*.o
    12 	-rm -f src/*~ test/*~ *~
    14 liblpfk.so:	src/liblpfk.o
    15 	$(CC) -shared -Wl,-soname,$(SONAME) -o $@ $<
    17 lpfktest:	test/lpfktest.o
    18 	$(CC) -o $@ $< -L. -llpfk
    20 lpfklife:	test/lpfklife.o
    21 	$(CC) -o $@ $< -L. -llpfk