diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-19 08:00:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-19 08:00:34 +0000 |
commit | 9b59b00627e0e068d6e63da7f21ee54d709a46c2 (patch) | |
tree | e3ff1642c75b642e362eab6a6b0645adcded0b56 /demos/MSP430-MSP430x1611-GCC/Makefile | |
parent | db46ee952bdf71ee039adf1bcf549968763f7a40 (diff) | |
download | ChibiOS-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/MSP430-MSP430x1611-GCC/Makefile')
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/Makefile b/demos/MSP430-MSP430x1611-GCC/Makefile index 98265abf8..dc3747875 100644 --- a/demos/MSP430-MSP430x1611-GCC/Makefile +++ b/demos/MSP430-MSP430x1611-GCC/Makefile @@ -39,19 +39,20 @@ PROJECT = ch LDSCRIPT = mspgcc/msp430x1611.x
# Imported source files
-include ../../os/ports/GCC/MSP430/port.mk
-include ../../os/kernel/kernel.mk
-include ../../test/test.mk
+CHIBIOS = ../..
+include ${CHIBIOS}/os/ports/GCC/MSP430/port.mk
+include ${CHIBIOS}/os/kernel/kernel.mk
+include ${CHIBIOS}/test/test.mk
# C sources here.
CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ../../os/io/pal.c \
- ../../os/io/serial.c \
- ../../os/io/platforms/MSP430/pal_lld.c \
- ../../os/io/platforms/MSP430/serial_lld.c \
- ../../os/various/evtimer.c \
+ ${CHIBIOS}/os/io/pal.c \
+ ${CHIBIOS}/os/io/serial.c \
+ ${CHIBIOS}/os/io/platforms/MSP430/pal_lld.c \
+ ${CHIBIOS}/os/io/platforms/MSP430/serial_lld.c \
+ ${CHIBIOS}/os/various/evtimer.c \
board.c main.c
# C++ sources here.
@@ -61,9 +62,9 @@ CPPSRC = ASMSRC = $(PORTASM)
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
- ../../os/io \
- ../../os/io/platforms/MSP430 \
- ../../os/various
+ ${CHIBIOS}/os/io \
+ ${CHIBIOS}/os/io/platforms/MSP430 \
+ ${CHIBIOS}/os/various
#
# Project, sources and paths
@@ -145,4 +146,4 @@ ULIBS = # End of user defines
##############################################################################
-include ../../os/ports/GCC/MSP430/rules.mk
+include ${CHIBIOS}/os/ports/GCC/MSP430/rules.mk
|