summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5969lp
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-04-13 09:04:40 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-04-13 09:04:40 +0200
commitb1355998c859cf4a1531b1035ca0ccb4a9e97409 (patch)
tree066c2860c5df095645beb9af057ddeb617277e80 /src/arch/msp430fr5969lp
parent168ea4b5641eb08ef24c70e94e332aaabf7e2e81 (diff)
prepare for switch to config.h instead of CFLAGS defines
Diffstat (limited to 'src/arch/msp430fr5969lp')
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index f9d9a28..d6f4d9f 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -112,13 +112,13 @@ endif
OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o} ${ASM_TARGETS:.S=.o}
-.cc.o:
+%.o : %.cc | include/config.h
${QUIET}${CXX} ${INCLUDES} ${COMMON_FLAGS} ${CXXFLAGS} -c -o $@ ${@:.o=.cc}
-.c.o:
+%.o : %.c | include/config.h
${QUIET}${CC} ${INCLUDES} ${COMMON_FLAGS} ${CFLAGS} -c -o $@ ${@:.o=.c}
-.S.o:
+%.o : %.S | include/config.h
${QUIET}${CC} ${INCLUDES} ${COMMON_FLAGS} -Wa,-gstabs,-ggdb -x assembler-with-cpp -c -o $@ ${@:.o=.S}
build/system.elf: ${OBJECTS}