1 2CFLAGS += -I . 3 4 5all: ktest.o bitree.o kfifo.o mutex.o idr.o 6 7ktest.o: ktest.c 8 $(CC) $(CFLAGS) -c ktest.c -o ktest.o 9 10bitree.o: test-bitree.c 11 $(CC) $(CFLAGS) -c test-bitree.c -o test-bitree.o 12 13kfifo.o: test-kfifo.c 14 $(CC) $(CFLAGS) -c test-kfifo.c -o test-kfifo.o 15 16mutex.o: test-mutex.c 17 $(CC) $(CFLAGS) -c test-mutex.c -o test-mutex.o 18 19idr.o: test-idr.c 20 $(CC) $(CFLAGS) -c test-idr.c -o test-idr.o