aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Build/lufa.build.in
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Build/lufa.build.in')
-rw-r--r--LUFA/Build/lufa.build.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Build/lufa.build.in b/LUFA/Build/lufa.build.in
index f77757819..bcf539d73 100644
--- a/LUFA/Build/lufa.build.in
+++ b/LUFA/Build/lufa.build.in
@@ -177,15 +177,15 @@ elf: $(TARGET).elf
hex: $(TARGET).hex $(TARGET).eep
lss: $(TARGET).lss
-%.o: %.c
+%.o: %.c $(MAKEFILE_LIST)
@echo $(MSG_COMPILE_CMD) Compiling C file \"$<\"
$(CROSS)gcc -c $(CC_FLAGS) $(C_FLAGS) $< -o $@
-%.o: %.cpp
+%.o: %.cpp $(MAKEFILE_LIST)
@echo $(MSG_COMPILE_CMD) Compiling C++ file \"$<\"
$(CROSS)gcc -c $(CC_FLAGS) $(CPP_FLAGS) -x c++ $< -o $@
-%.o: %.S
+%.o: %.S $(MAKEFILE_LIST)
@echo $(MSG_COMPILE_CMD) Assembling \"$<\"
$(CROSS)gcc -c $(CC_FLAGS) $(ASM_FLAGS) -x assembler-with-cpp $< -o $@