aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MinGW/Makefile
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 19:12:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 19:12:34 +0000
commit6d44bd72e3bd586dc84ff0fe65b1218173efa0a7 (patch)
tree31a3f3bb0c9002ba31f8ceb65118f0e7b30438da /demos/Win32-MinGW/Makefile
parenta08b0561d6fea376c53e68f7479fe7a7e90b9ed6 (diff)
downloadChibiOS-6d44bd72e3bd586dc84ff0fe65b1218173efa0a7.tar.gz
ChibiOS-6d44bd72e3bd586dc84ff0fe65b1218173efa0a7.tar.bz2
ChibiOS-6d44bd72e3bd586dc84ff0fe65b1218173efa0a7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1401 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MinGW/Makefile')
-rw-r--r--demos/Win32-MinGW/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/demos/Win32-MinGW/Makefile b/demos/Win32-MinGW/Makefile
index 3552537ad..e690b7804 100644
--- a/demos/Win32-MinGW/Makefile
+++ b/demos/Win32-MinGW/Makefile
@@ -57,24 +57,26 @@ UADEFS =
# Imported source files
CHIBIOS = ../..
+include ${CHIBIOS}/os/hal/hal.mk
+include ${CHIBIOS}/os/hal/platforms/Win32/platform.mk
+include ${CHIBIOS}/os/ports/GCC/SIMIA32/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
# List C source files here
-SRC = ${KERNSRC} \
+SRC = ${PORTSRC} \
+ ${KERNSRC} \
${TESTSRC} \
- chcore.c \
- ${CHIBIOS}/os/io/serial.c \
- ${CHIBIOS}/os/io/platforms/Win32/serial_lld.c \
+ ${HALSRC} \
+ ${PLATFORMSRC} \
main.c
# List ASM source files here
ASRC =
# List all user directories here
-UINCDIR = $(KERNINC) $(TESTINC) \
- ${CHIBIOS}/os/io \
- ${CHIBIOS}/os/io/platforms/Win32
+UINCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \
+ ${CHIBIOS}/os/various
# List the user directory to look for the libraries here
ULIBDIR =