diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-04-13 09:04:40 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-04-13 09:04:40 +0200 |
commit | b1355998c859cf4a1531b1035ca0ccb4a9e97409 (patch) | |
tree | 066c2860c5df095645beb9af057ddeb617277e80 /src/arch/stm32f446re-nucleo | |
parent | 168ea4b5641eb08ef24c70e94e332aaabf7e2e81 (diff) |
prepare for switch to config.h instead of CFLAGS defines
Diffstat (limited to 'src/arch/stm32f446re-nucleo')
-rw-r--r-- | src/arch/stm32f446re-nucleo/Makefile.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/stm32f446re-nucleo/Makefile.inc b/src/arch/stm32f446re-nucleo/Makefile.inc index dd0de00..2aec12b 100644 --- a/src/arch/stm32f446re-nucleo/Makefile.inc +++ b/src/arch/stm32f446re-nucleo/Makefile.inc @@ -72,16 +72,16 @@ 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} -c -o $@ ${@:.o=.S} -.s.o: +%.o : %.s | include/config.h ${QUIET}${CC} ${INCLUDES} ${COMMON_FLAGS} -c -o $@ ${@:.o=.S} ext/libopencm3/Makefile: |