diff --git a/src/Makefile b/src/Makefile index 2eff8a93..92be64e2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,7 @@ # Main code build rules -src-y += sched.c command.c basecmd.c debugcmds.c initial_pins.c -src-$(CONFIG_HAVE_GPIO) += gpiocmds.c stepper.c endstop.c +src-y += sched.c command.c basecmd.c debugcmds.c +src-$(CONFIG_HAVE_GPIO) += initial_pins.c gpiocmds.c stepper.c endstop.c src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c src-$(CONFIG_HAVE_GPIO_SPI) += spicmds.c thermocouple.c src-$(CONFIG_HAVE_GPIO_I2C) += i2ccmds.c