Makefile 402 B

1234567891011121314151617181920
  1. CFLAGS += -I .
  2. all: ktest.o bitree.o kfifo.o mutex.o idr.o
  3. ktest.o: ktest.c
  4. $(CC) $(CFLAGS) -c ktest.c -o ktest.o
  5. bitree.o: test-bitree.c
  6. $(CC) $(CFLAGS) -c test-bitree.c -o test-bitree.o
  7. kfifo.o: test-kfifo.c
  8. $(CC) $(CFLAGS) -c test-kfifo.c -o test-kfifo.o
  9. mutex.o: test-mutex.c
  10. $(CC) $(CFLAGS) -c test-mutex.c -o test-mutex.o
  11. idr.o: test-idr.c
  12. $(CC) $(CFLAGS) -c test-idr.c -o test-idr.o