Browse Source

Use wildcard *.cpp in Makefile

Based on #8738
Addressing #8731
pull/1/head
Scott Lahteine 7 years ago
parent
commit
3cde4c78b2
  1. 13
      Marlin/src/Makefile

13
Marlin/src/Makefile

@ -300,20 +300,19 @@ SRC = wiring.c \
wiring_analog.c wiring_digital.c \ wiring_analog.c wiring_digital.c \
wiring_pulse.c \ wiring_pulse.c \
wiring_shift.c WInterrupts.c hooks.c wiring_shift.c WInterrupts.c hooks.c
ifeq ($(HARDWARE_VARIANT), Teensy) ifeq ($(HARDWARE_VARIANT), Teensy)
SRC = wiring.c SRC = wiring.c
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/teensy/cores/teensy VPATH += $(ARDUINO_INSTALL_DIR)/hardware/teensy/cores/teensy
endif endif
CXXSRC = WMath.cpp WString.cpp Print.cpp Marlin.cpp \
MarlinSerial.cpp sd/Sd2Card.cpp sd/SdBaseFile.cpp sd/SdFatUtil.cpp \ CXXSRC = WMath.cpp WString.cpp Print.cpp SPI.cpp Tone.cpp
sd/SdFile.cpp sd/SdVolume.cpp module/planner.cpp module/stepper.cpp \ CXXSRC += $(wildcard *.cpp)
module/temperature.cpp sd/cardreader.cpp module/configuration_store.cpp \
HAL/watchdog.cpp SPI.cpp HAL/servo.cpp Tone.cpp lcd/ultralcd.cpp libs/digipot_mcp4451.cpp \
feature/dac/dac_mcp4728.cpp libs/vector_3.cpp libs/least_squares_fit.cpp module/endstops.cpp libs/stopwatch.cpp core/utility.cpp \
module/printcounter.cpp libs/nozzle.cpp core/serial.cpp gcode/parser.cpp feature/Max7219_Debug_LEDs.cpp
ifeq ($(NEOPIXEL), 1) ifeq ($(NEOPIXEL), 1)
CXXSRC += Adafruit_NeoPixel.cpp CXXSRC += Adafruit_NeoPixel.cpp
endif endif
ifeq ($(LIQUID_TWI2), 0) ifeq ($(LIQUID_TWI2), 0)
CXXSRC += LiquidCrystal.cpp CXXSRC += LiquidCrystal.cpp
else else

Loading…
Cancel
Save