diff options
Diffstat (limited to 'demos/GNU-Linux-GCC/Makefile')
-rw-r--r-- | demos/GNU-Linux-GCC/Makefile | 7 |
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 =
|