From 3a511e458357dccc1a40d9b53dc13c9332238685 Mon Sep 17 00:00:00 2001 From: lumbric Date: Sat, 16 Dec 2017 20:18:41 +0100 Subject: [PATCH] Add all CPP files to Makefile automatically Fixes build errors occurring when AUTO_BED_LEVELING_UBL is enabled. --- Marlin/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Marlin/Makefile b/Marlin/Makefile index bd8baed4b8..a2cea06269 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -304,13 +304,8 @@ ifeq ($(HARDWARE_VARIANT), Teensy) SRC = wiring.c VPATH += $(ARDUINO_INSTALL_DIR)/hardware/teensy/cores/teensy endif -CXXSRC = WMath.cpp WString.cpp Print.cpp Marlin_main.cpp \ - MarlinSerial.cpp Sd2Card.cpp SdBaseFile.cpp SdFatUtil.cpp \ - SdFile.cpp SdVolume.cpp planner.cpp stepper.cpp \ - temperature.cpp cardreader.cpp configuration_store.cpp \ - watchdog.cpp SPI.cpp servo.cpp Tone.cpp ultralcd.cpp digipot_mcp4451.cpp \ - dac_mcp4728.cpp vector_3.cpp least_squares_fit.cpp endstops.cpp stopwatch.cpp utility.cpp \ - printcounter.cpp nozzle.cpp serial.cpp gcode.cpp Max7219_Debug_LEDs.cpp +CXXSRC = WMath.cpp WString.cpp Print.cpp SPI.cpp Tone.cpp +CXXSRC += $(wildcard *.cpp) ifeq ($(NEOPIXEL), 1) CXXSRC += Adafruit_NeoPixel.cpp endif