summaryrefslogtreecommitdiff
path: root/digital/avr/make
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/make')
-rw-r--r--digital/avr/make/Makefile.avr4
-rw-r--r--digital/avr/make/Makefile.gen3
2 files changed, 5 insertions, 2 deletions
diff --git a/digital/avr/make/Makefile.avr b/digital/avr/make/Makefile.avr
index b063fe53..7dfee06d 100644
--- a/digital/avr/make/Makefile.avr
+++ b/digital/avr/make/Makefile.avr
@@ -116,6 +116,8 @@ esrec: $(AVR_PROGS:%=%_eeprom.srec)
clean.avr:
rm -f *.avr.o *.avr.d $(AVR_ELFS) \
- *.avr.simu.o *.avr.simu.d $(AVR_SIMU_ELFS) \
*.avr.lst *.avr.map $(TEXTS) $(EEPROMS)
+clean.simu:
+ rm -f *.avr.simu.o *.avr.simu.d $(AVR_SIMU_ELFS)
+
diff --git a/digital/avr/make/Makefile.gen b/digital/avr/make/Makefile.gen
index 0fa9b983..b4d422ba 100644
--- a/digital/avr/make/Makefile.gen
+++ b/digital/avr/make/Makefile.gen
@@ -81,6 +81,7 @@ avr:
simu:
host:
clean.avr:
+clean.simu:
clean.host:
endif
@@ -96,6 +97,6 @@ doc: $(DOC)
# Cleaning.
-clean: clean.avr clean.host
+clean: clean.avr clean.simu clean.host
rm -f *.bak *~ $(DOC) *.exd $(EXTRA_CLEAN_FILES)