summaryrefslogtreecommitdiff
path: root/src/arch/lm4f120h5qr-stellaris
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/lm4f120h5qr-stellaris')
-rw-r--r--src/arch/lm4f120h5qr-stellaris/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/lm4f120h5qr-stellaris/Makefile.inc b/src/arch/lm4f120h5qr-stellaris/Makefile.inc
index d49391b..7d1e5e9 100644
--- a/src/arch/lm4f120h5qr-stellaris/Makefile.inc
+++ b/src/arch/lm4f120h5qr-stellaris/Makefile.inc
@@ -73,16 +73,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: