altos: Have 'make clean' remove all programs, even old ones
[fw/altos] / src / cc1111 / Makefile.cc1111
index 8de4a9b290f282043e39ca2f358dc6d50a5cdd71..f7ecce33d019597ad9d25a95bbacdc268db78b75 100644 (file)
@@ -25,3 +25,11 @@ 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)-*