Makefile (223B)
1 .POSIX: 2 3 ROOT = ../../../root 4 CFLAGS = 5 CC = SCCPREFIX=$(ROOT) ./cc.sh 6 7 .c: 8 $(CC) $(CFLAGS) -o $@ $< 9 10 all: tests 11 12 tests: 13 @CFLAGS='' SCCPREFIX=$(ROOT) chktest.sh libc-tests.lst 14 15 clean: 16 rm -f *.o *core a.out test.log