Makefile (407B)
1 include ../swk.mk 2 3 CFLAGS=-I.. -Wall 4 5 all: test calc tlock ui 6 7 test: test.o 8 ${CC} test.o ../libswk.a ${SWKLIBS} -o test 9 10 tlock: tlock.o 11 ${CC} tlock.o ../libswk.a ${SWKLIBS} -o tlock 12 13 calc: calc.o 14 ${CC} calc.o ../libswk.a ${SWKLIBS} -o calc 15 16 ui: ui.o 17 ${CC} ui.o ../libswk.a ${SWKLIBS} -o ui 18 19 clean: 20 rm -f calc calc.o test test.o ui ui.o tlock tlock.o 21 22 fun: 23 cd .. && make clean ; make && cd t && ./test