why not just make and clean all at once
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 2 Feb 2001 15:35:06 +0000 (15:35 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 2 Feb 2001 15:35:06 +0000 (15:35 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@563 4a8a32a2-be11-0410-ad9d-d568d2c75423

device/examples/ds390/Makefile [new file with mode: 0644]

diff --git a/device/examples/ds390/Makefile b/device/examples/ds390/Makefile
new file mode 100644 (file)
index 0000000..0c6fe6e
--- /dev/null
@@ -0,0 +1,12 @@
+TARGETS = clock390 hello390 i2c390 readmac rtc390
+
+all: $(TARGETS)
+       for target in $(TARGETS); do \
+               (cd $$target; $(MAKE)); \
+       done;
+
+clean: $(TARGETS)
+       rm -f *~ \#* *.asm *.cdb *.rel *.hex *.ihx *.lst *.map *.rst *.sym *.lnk
+       for target in $(TARGETS); do \
+               (cd $$target; $(MAKE) clean); \
+       done;