aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR-ATmega128-GCC/Makefile
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 21:00:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 21:00:27 +0000
commitce5974e5de90403c272854a2be4e47d924575186 (patch)
tree952413c411fb6061d4187680a4be63ecbb6c4617 /demos/AVR-ATmega128-GCC/Makefile
parentb07970d18cd1168e2858ae5423e7f1ebf9e275be (diff)
downloadChibiOS-ce5974e5de90403c272854a2be4e47d924575186.tar.gz
ChibiOS-ce5974e5de90403c272854a2be4e47d924575186.tar.bz2
ChibiOS-ce5974e5de90403c272854a2be4e47d924575186.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1439 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR-ATmega128-GCC/Makefile')
-rw-r--r--demos/AVR-ATmega128-GCC/Makefile31
1 files changed, 17 insertions, 14 deletions
diff --git a/demos/AVR-ATmega128-GCC/Makefile b/demos/AVR-ATmega128-GCC/Makefile
index 1ae0a672a..3f42dce8e 100644
--- a/demos/AVR-ATmega128-GCC/Makefile
+++ b/demos/AVR-ATmega128-GCC/Makefile
@@ -81,21 +81,23 @@ OBJDIR = .
# Imported source files
CHIBIOS = ../..
-include ${CHIBIOS}/os/hal/hal.mk
-include ${CHIBIOS}/os/hal/platforms/AVR/platform.mk
-include ${CHIBIOS}/os/ports/GCC/AVR/port.mk
-include ${CHIBIOS}/os/kernel/kernel.mk
-include ${CHIBIOS}/test/test.mk
+include $(CHIBIOS)/boards/OLIMEX_AVR_MT_128/board.mk
+include $(CHIBIOS)/os/hal/platforms/AVR/platform.mk
+include $(CHIBIOS)/os/hal/hal.mk
+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} \
- ${HALSRC} \
- ${PLATFORMSRC} \
- ${CHIBIOS}/os/various/evtimer.c \
- lcd.c board.c main.c
+SRC = $(PORTSRC) \
+ $(KERNSRC) \
+ $(TESTSRC) \
+ $(HALSRC) \
+ $(PLATFORMSRC) \
+ $(BOARDSRC) \
+ $(CHIBIOS)/os/various/evtimer.c \
+ lcd.c main.c
# List C++ source files here. (C dependencies are automatically generated.)
@@ -129,8 +131,9 @@ DEBUG = dwarf-2
# Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.
-EXTRAINCDIRS = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \
- ${CHIBIOS}/os/various
+EXTRAINCDIRS = $(PORTINC) $(KERNINC) $(TESTINC) \
+ $(HALINC) $(PLATFORMINC) $(BOARDINC) \
+ $(CHIBIOS)/os/various
# Compiler flag to set the C Standard level.