aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR/MEGA/ICU/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/AVR/MEGA/ICU/Makefile')
-rw-r--r--testhal/AVR/MEGA/ICU/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/testhal/AVR/MEGA/ICU/Makefile b/testhal/AVR/MEGA/ICU/Makefile
index 51bf14236..075764b0e 100644
--- a/testhal/AVR/MEGA/ICU/Makefile
+++ b/testhal/AVR/MEGA/ICU/Makefile
@@ -84,34 +84,32 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../..
+
+# Licensing files.
+include $(CHIBIOS)/os/license/license.mk
+
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
+
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
+
# Other files (optional).
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
# List C source files here. (C dependencies are automatically generated.)
-CSRC = $(KERNSRC) \
- $(PORTSRC) \
- $(OSALSRC) \
- $(HALSRC) \
- $(PLATFORMSRC) \
- $(BOARDSRC) \
- $(STREAMSSRC) \
- $(CHIBIOS)/os/various/evtimer.c \
+CSRC = $(ALLCSRC) \
main.c
# List C++ sources file here.
-CPPSRC =
+CPPSRC = $(ALLCPPSRC)
-INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
- $(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
- $(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
+# Header files here.
+INCDIR = $(ALLINC)
#
# Project, sources and paths.