diff options
author | Keith Packard <keithp@keithp.com> | 2012-07-11 13:49:26 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-11 13:49:26 -0700 |
commit | 18431c88c8a6cb267922b97192e8b7ddb88d0e7e (patch) | |
tree | 3783f3a3da5c34a73faca1b9fedbc31a927cff2a /src/teleterra-v0.2 | |
parent | 726f47c8a07f060aed930e1d102a1e8b5a5c7aed (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/teleterra-v0.2')
-rw-r--r-- | src/teleterra-v0.2/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/teleterra-v0.2/Makefile b/src/teleterra-v0.2/Makefile index 4967d187..65db57ce 100644 --- a/src/teleterra-v0.2/Makefile +++ b/src/teleterra-v0.2/Makefile @@ -66,7 +66,8 @@ SRC = \ TELETERRA_VER=0.2 TELETERRA_DEF=0_2 -PROG = teleterra-v$(TELETERRA_VER)-$(VERSION).ihx +PROGNAME = teleterra-v$(TELETERRA_VER) +PROG = $(PROGNAME)-$(VERSION).ihx PRODUCT=TeleTerra-v$(TELETERRA_VER) PRODUCT_DEF=-DTELETERRA_V_$(TELETERRA_DEF) IDPRODUCT=0x000d @@ -95,11 +96,7 @@ ao_product.h: ao-make-product.5c ../Version distclean: clean -clean: - rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM) - rm -f $(PROG) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM) - rm -f ao_product.h - rm -f ../$(PROG) ../$(PMAP) +clean: clean-cc1111 install: |