From d30c3199f983985ba8144f0fccb3d1eb857ef172 Mon Sep 17 00:00:00 2001 From: Joachim Schleicher Date: Fri, 24 Feb 2012 04:30:57 +0800 Subject: compile experimental using the Makefile * add forward declarations in Sprinter.h * add new files heater.cpp and arc_func.cpp to Makefile --- Sprinter/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sprinter/Makefile') diff --git a/Sprinter/Makefile b/Sprinter/Makefile index 639cf1b..4d6326a 100644 --- a/Sprinter/Makefile +++ b/Sprinter/Makefile @@ -55,7 +55,7 @@ $(ARDUINO)/wiring_analog.c $(ARDUINO)/wiring_digital.c \ $(ARDUINO)/wiring_pulse.c \ $(ARDUINO)/wiring_shift.c $(ARDUINO)/WInterrupts.c CXXSRC = $(ARDUINO)/HardwareSerial.cpp $(ARDUINO)/WMath.cpp $(ARDUINO)/WString.cpp\ -$(ARDUINO)/Print.cpp ./SdFile.cpp ./SdVolume.cpp ./Sd2Card.cpp +$(ARDUINO)/Print.cpp ./SdFile.cpp ./SdVolume.cpp ./Sd2Card.cpp ./heater.cpp ./arc_func.cpp FORMAT = ihex -- cgit v1.2.1 From 20a99c5925da5b1104505506b160de29e4556e3a Mon Sep 17 00:00:00 2001 From: midopple Date: Fri, 24 Feb 2012 14:01:58 +0100 Subject: fix applet/core.a: not found --> Thanks to triffid --- Sprinter/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sprinter/Makefile') diff --git a/Sprinter/Makefile b/Sprinter/Makefile index 4d6326a..a6c02e2 100644 --- a/Sprinter/Makefile +++ b/Sprinter/Makefile @@ -199,7 +199,7 @@ extcoff: $(TARGET).elf $(NM) -n $< > $@ # Link: create ELF output file from library. -applet/$(TARGET).elf: applet/core.a applet/$(TARGET).cpp +applet/$(TARGET).elf: applet/$(TARGET).cpp applet/core.a $(CC) $(ALL_CFLAGS) -Wl,--gc-sections -o $@ applet/$(TARGET).cpp -L. applet/core.a $(LDFLAGS) applet/core.a: $(OBJ) -- cgit v1.2.1 From 421c3905963436ebac6b00939b68980460ec0a7d Mon Sep 17 00:00:00 2001 From: midopple Date: Fri, 24 Feb 2012 19:54:05 +0100 Subject: Add "store_eeprom.cpp" to makefile --- Sprinter/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sprinter/Makefile') diff --git a/Sprinter/Makefile b/Sprinter/Makefile index a6c02e2..6b873bb 100644 --- a/Sprinter/Makefile +++ b/Sprinter/Makefile @@ -55,7 +55,7 @@ $(ARDUINO)/wiring_analog.c $(ARDUINO)/wiring_digital.c \ $(ARDUINO)/wiring_pulse.c \ $(ARDUINO)/wiring_shift.c $(ARDUINO)/WInterrupts.c CXXSRC = $(ARDUINO)/HardwareSerial.cpp $(ARDUINO)/WMath.cpp $(ARDUINO)/WString.cpp\ -$(ARDUINO)/Print.cpp ./SdFile.cpp ./SdVolume.cpp ./Sd2Card.cpp ./heater.cpp ./arc_func.cpp +$(ARDUINO)/Print.cpp ./SdFile.cpp ./SdVolume.cpp ./Sd2Card.cpp ./heater.cpp ./arc_func.cpp ./store_eeprom.cpp FORMAT = ihex -- cgit v1.2.1