Makefile

Tue, 26 Aug 2008 13:18:18 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Tue, 26 Aug 2008 13:18:18 +0100
changeset 1
3e775df109e6
parent 0
745037d69d81
child 5
2fc2b426ace9
permissions
-rw-r--r--

added: Vim folding markers to all functions
added: Cached LED write (TODO: add to test app)
added: LPFK keys no longer active by default
TODO: build Doxyfile for Doxygen documentation generation

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