From f436c6a733655a8d4b6eba76ffb0f32434f5b6f6 Mon Sep 17 00:00:00 2001 From: johanknol Date: Fri, 2 Feb 2001 15:35:06 +0000 Subject: [PATCH] why not just make and clean all at once git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@563 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/examples/ds390/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 device/examples/ds390/Makefile diff --git a/device/examples/ds390/Makefile b/device/examples/ds390/Makefile new file mode 100644 index 00000000..0c6fe6e8 --- /dev/null +++ b/device/examples/ds390/Makefile @@ -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; -- 2.39.5