wiring-sucks

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 159ce5ff1b7b230ae4287bb8bef993cb1dff3f9a
parent 3677a2498f11e23b7edc3359b2aa7f546d29c04a
Author: Elecon-rou <elecon@xecut.net>
Date:   Thu,  2 Jul 2020 10:20:10 +0000

set "make clean" to remove object from all subdirs

Diffstat:
MMakefile | 14+++++++++++++-
Mlib/Core/Makefile | 3---
Mlib/Ethernet/Makefile | 3---
Mlib/Firmata/Makefile | 3---
Mlib/GSM/Makefile | 3---
Mlib/LiquidCrystal/Makefile | 3---
Mlib/SD/Makefile | 3---
Mlib/SPI/Makefile | 3---
Mlib/Servo/Makefile | 3---
Mlib/SoftwareSerial/Makefile | 3---
Mlib/Stepper/Makefile | 4----
Mlib/Wire/Makefile | 3---
12 files changed, 13 insertions(+), 35 deletions(-)

diff --git a/Makefile b/Makefile @@ -30,4 +30,15 @@ flash: hex.bin $(PROG) -U flash:w:$< clean: - rm *.a *.o hex.bin + rm -f *.a *.o hex.bin + rm -f lib/Core/*.o \ + lib/Ethernet/*.o \ + lib/Firmata/*.o \ + lib/GSM/*.o \ + lib/LiquidCrystal/*.o \ + lib/SD/*.o \ + lib/Servo/*.o \ + lib/SoftwareSerial/*.o \ + lib/SPI/*.o \ + lib/Stepper/*.o \ + lib/Wire/*.o+ \ No newline at end of file diff --git a/lib/Core/Makefile b/lib/Core/Makefile @@ -21,6 +21,3 @@ Core.a: $(OBJS) $(AR) ../../$@ $^ all: Core.a - -clean: - rm -f *.o diff --git a/lib/Ethernet/Makefile b/lib/Ethernet/Makefile @@ -19,6 +19,3 @@ Ethernet.a: $(OBJS) $(AR) ../../$@ $^ all: Ethernet.a - -clean: - rm -f *.o diff --git a/lib/Firmata/Makefile b/lib/Firmata/Makefile @@ -17,6 +17,3 @@ Firmata.a: $(OBJS) $(AR) ../../$@ $^ all: Firmata.a - -clean: - rm -f *.o diff --git a/lib/GSM/Makefile b/lib/GSM/Makefile @@ -26,6 +26,3 @@ GSM.a: $(OBJS) $(AR) ../../$@ $^ all: GSM.a - -clean: - rm -f *.o diff --git a/lib/LiquidCrystal/Makefile b/lib/LiquidCrystal/Makefile @@ -17,6 +17,3 @@ LiquidCrystal.a: $(OBJS) $(AR) ../../$@ $^ all: LiquidCrystal.a - -clean: - rm -f *.o diff --git a/lib/SD/Makefile b/lib/SD/Makefile @@ -17,6 +17,3 @@ SD.a: $(OBJS) $(AR) ../../$@ $^ all: SD.a - -clean: - rm -f *.o diff --git a/lib/SPI/Makefile b/lib/SPI/Makefile @@ -17,6 +17,3 @@ SPI.a: $(OBJS) $(AR) ../../$@ $^ all: SPI.a - -clean: - rm -f *.o diff --git a/lib/Servo/Makefile b/lib/Servo/Makefile @@ -17,6 +17,3 @@ Servo.a: $(OBJS) $(AR) ../../$@ $^ all: Servo.a - -clean: - rm -f *.o diff --git a/lib/SoftwareSerial/Makefile b/lib/SoftwareSerial/Makefile @@ -17,6 +17,3 @@ SoftwareSerial.a: $(OBJS) $(AR) ../../$@ $^ all: SoftwareSerial.a - -clean: - rm -f *.o diff --git a/lib/Stepper/Makefile b/lib/Stepper/Makefile @@ -17,6 +17,3 @@ Stepper.a: $(OBJS) $(AR) ../../$@ $^ all: Stepper.a - -clean: - rm -f *.o- \ No newline at end of file diff --git a/lib/Wire/Makefile b/lib/Wire/Makefile @@ -17,6 +17,3 @@ Wire.a: $(OBJS) $(AR) ../../$@ $^ all: Wire.a - -clean: - rm -f *.o