aboutsummaryrefslogtreecommitdiffstats
path: root/demos/GNU-Linux-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/GNU-Linux-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/GNU-Linux-GCC')
-rw-r--r--demos/GNU-Linux-GCC/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/GNU-Linux-GCC/Makefile b/demos/GNU-Linux-GCC/Makefile
index 5483d4448..51a8b25db 100644
--- a/demos/GNU-Linux-GCC/Makefile
+++ b/demos/GNU-Linux-GCC/Makefile
@@ -56,8 +56,9 @@ UDEFS =
UADEFS =
# Imported source files
-include ../../src/kernel.mk
-include ../../test/test.mk
+CHIBIOS = ../..
+include ${CHIBIOS}/src/kernel.mk
+include ${CHIBIOS}/test/test.mk
# List C source files here
SRC = chcore.c main.c \
@@ -68,7 +69,7 @@ SRC = chcore.c main.c \
ASRC =
# List all user directories here
-UINCDIR = ../../src/include
+UINCDIR = ${CHIBIOS}/src/include
# List the user directory to look for the libraries here
ULIBDIR =