aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR-AT90CANx-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-19 08:00:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-19 08:00:34 +0000
commit9b59b00627e0e068d6e63da7f21ee54d709a46c2 (patch)
treee3ff1642c75b642e362eab6a6b0645adcded0b56 /demos/AVR-AT90CANx-GCC
parentdb46ee952bdf71ee039adf1bcf549968763f7a40 (diff)
downloadChibiOS-9b59b00627e0e068d6e63da7f21ee54d709a46c2.tar.gz
ChibiOS-9b59b00627e0e068d6e63da7f21ee54d709a46c2.tar.bz2
ChibiOS-9b59b00627e0e068d6e63da7f21ee54d709a46c2.zip
Improved makefiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1166 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR-AT90CANx-GCC')
-rw-r--r--demos/AVR-AT90CANx-GCC/Makefile19
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.