1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
include ../common.mk CFLAGS += -I../include -I../drivers obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o i2s.o spi.o net.o wifi.o sock.o eve.o %.o: %.c %.h $(CC) $(CFLAGS) -c $< %.o: %.S $(CC) $(CFLAGS) -c $< all: $(obj) clean: rm -f *.o