diff options
Diffstat (limited to 'src/arch/posix')
-rw-r--r-- | src/arch/posix/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc index 32a56cc..5e7e7ee 100644 --- a/src/arch/posix/Makefile.inc +++ b/src/arch/posix/Makefile.inc @@ -45,10 +45,10 @@ ifdef CONFIG_gpio_trace COMMON_FLAGS += -DGPIO_TRACE endif -.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} build/system.elf: ${OBJECTS} |