Merge branch 'master' of git://git.gag.com/fw/altos
[fw/altos] / src / cc1111 / Makefile.cc1111
index 8de4a9b290f282043e39ca2f358dc6d50a5cdd71..0e19603b29429d4e8177f163ac05d7134dd9b421 100644 (file)
@@ -2,7 +2,7 @@ CC=sdcc
 
 CFLAGS=--model-small --debug --opt-code-speed -DCODESIZE=$(CODESIZE)
 
-CFLAGS += $(PRODUCT_DEF) -I. -I.. -I../core -I../cc1111 -I../driver -I../product
+CFLAGS += $(PRODUCT_DEF) -I. -I.. -I../core -I../cc1111 -I../drivers -I../product
 
 CODESIZE ?= 0x8000
 
@@ -25,3 +25,14 @@ PAOM=$(PROG:.ihx=)
 
 %.rel : %.c $(INC)
        $(call quiet,CC,$(PRODUCT_DEF)) $(CFLAGS) -c -o$@ $<
+
+all:
+
+clean-cc1111:
+       rm -f *.adb *.asm *.lnk *.lst *.rel *.rst *.sym
+       rm -f $(PROGNAME)-*
+       rm -f ao_product.h
+       rm -f ../$(PROGNAME)-*
+
+../ao_kalman.h:
+       +(cd .. && make ao_kalman.h)