aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR-AT90CANx-GCC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR-AT90CANx-GCC/Makefile')
-rw-r--r--demos/AVR-AT90CANx-GCC/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/demos/AVR-AT90CANx-GCC/Makefile b/demos/AVR-AT90CANx-GCC/Makefile
index 37c56acf9..a72f1f913 100644
--- a/demos/AVR-AT90CANx-GCC/Makefile
+++ b/demos/AVR-AT90CANx-GCC/Makefile
@@ -79,14 +79,16 @@ TARGET = ch
OBJDIR = .
+# Imported source files
+include ../../src/kernel.mk
+include ../../test/test.mk
+
+
# List C source files here. (C dependencies are automatically generated.)
SRC = ../../ports/AVR/chcore.c ../../ports/AVR/avr_serial.c \
- ../../src/chinit.c ../../src/chdebug.c ../../src/chlists.c ../../src/chdelta.c \
- ../../src/chschd.c ../../src/chthreads.c ../../src/chsem.c ../../src/chmtx.c \
- ../../src/chevents.c ../../src/chmsg.c ../../src/chsleep.c ../../src/chqueues.c \
- ../../src/chserial.c \
+ ${KERNSRC} \
+ ${TESTSRC} \
../../src/lib/evtimer.c \
- ../../test/test.c \
board.c main.c