Makefile

Tue, 26 Aug 2008 21:59:54 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Tue, 26 Aug 2008 21:59:54 +0100
changeset 5
2fc2b426ace9
parent 0
745037d69d81
child 6
aed399ff850b
permissions
-rw-r--r--

Added "Conway's Life" demo to LPFK test suite. This is a good test for
cached LED status setting, and a decent base for other LPFK games.

     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 	-rf -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