Fix bulding of .s and .S files

This commit is contained in:
Timothy Redaelli 2016-04-04 15:35:54 +02:00
parent 70bb3d34c6
commit 2c56aebdab

View file

@ -279,11 +279,11 @@ $(BUILD_DIR)/%.o: %.cpp
$(BUILD_DIR)/%.o: %.s
@echo $@
@$(CC) -c $(CC_FLAGS) -MMD -MP -MF -x assembler-with-cpp $(BUILD_DIR)/$*.d $< -o $@
@$(CC) -c $(CC_FLAGS) -MMD -MP -MF $(BUILD_DIR)/$*.d -x assembler-with-cpp $< -o $@
$(BUILD_DIR)/%.o: %.S
@echo $@
@$(CC) -c $(CC_FLAGS) -MMD -MP -MF -x assembler-with-cpp $(BUILD_DIR)/$*.d $< -o $@
@$(CC) -c $(CC_FLAGS) -MMD -MP -MF $(BUILD_DIR)/$*.d -x assembler-with-cpp $< -o $@
$(BUILD_DIR)/%.bin.o: $(BUILD_DIR)/%.bin.c
@echo $@