summaryrefslogtreecommitdiff
path: root/src/cc1111
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-11 13:49:26 -0700
committerKeith Packard <keithp@keithp.com>2012-07-11 13:49:26 -0700
commit18431c88c8a6cb267922b97192e8b7ddb88d0e7e (patch)
tree3783f3a3da5c34a73faca1b9fedbc31a927cff2a /src/cc1111
parent726f47c8a07f060aed930e1d102a1e8b5a5c7aed (diff)
altos: Have 'make clean' remove all programs, even old ones
This makes sure that changing version numbers doesn't leave old compiled output lying around. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111')
-rw-r--r--src/cc1111/Makefile.cc11118
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cc1111/Makefile.cc1111 b/src/cc1111/Makefile.cc1111
index 8de4a9b2..f7ecce33 100644
--- a/src/cc1111/Makefile.cc1111
+++ b/src/cc1111/Makefile.cc1111
@@ -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)-*