diff options
Diffstat (limited to 'demos/AVR-AT90CANx-GCC/Makefile')
-rw-r--r-- | demos/AVR-AT90CANx-GCC/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/demos/AVR-AT90CANx-GCC/Makefile b/demos/AVR-AT90CANx-GCC/Makefile index 30ae2aad0..5754a6371 100644 --- a/demos/AVR-AT90CANx-GCC/Makefile +++ b/demos/AVR-AT90CANx-GCC/Makefile @@ -80,18 +80,19 @@ OBJDIR = . # Imported source files
-include ../../os/ports/GCC/AVR/port.mk
-include ../../os/kernel/kernel.mk
-include ../../test/test.mk
+CHIBIOS = ../..
+include ${CHIBIOS}/os/ports/GCC/AVR/port.mk
+include ${CHIBIOS}/os/kernel/kernel.mk
+include ${CHIBIOS}/test/test.mk
# List C source files here. (C dependencies are automatically generated.)
SRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ../../os/io/serial.c \
- ../../os/io/platforms/AVR/serial_lld.c \
- ../../os/various/evtimer.c \
+ ${CHIBIOS}/os/io/serial.c \
+ ${CHIBIOS}/os/io/platforms/AVR/serial_lld.c \
+ ${CHIBIOS}/os/various/evtimer.c \
board.c main.c
@@ -127,9 +128,9 @@ DEBUG = dwarf-2 # Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.
EXTRAINCDIRS = $(PORTINC) $(KERNINC) $(TESTINC) \
- ../../os/io \
- ../../os/io/platforms/AVR \
- ../../os/various
+ ${CHIBIOS}/os/io \
+ ${CHIBIOS}/os/io/platforms/AVR \
+ ${CHIBIOS}/os/various
# Compiler flag to set the C Standard level.
|