Skip to content

Commit

Permalink
Fix build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Dec 22, 2016
1 parent ab07c81 commit d6f57b3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,7 @@ $(SELF_EXECUTABLE): $(SELF_OBJECTS)
arm-none-eabi-objcopy -O binary $(BUILD_PATH)/self-$(NAME).elf $(BUILD_PATH)/self-$(NAME).bin
node scripts/bin2uf2.js $(BUILD_PATH)/self-$(NAME).bin $@

$(BUILD_PATH)/%.o: src/%.c $(wildcard inc/*.h)
@echo "$<"
@$(CC) $(CFLAGS) $(BLD_EXTA_FLAGS) $(INCLUDES) $< -o $@

$(BUILD_PATH)/%.o: selfflash/%.c $(wildcard inc/*.h)
$(BUILD_PATH)/%.o: src/%.c $(wildcard inc/*.h boards/*/*.h)
@echo "$<"
@$(CC) $(CFLAGS) $(BLD_EXTA_FLAGS) $(INCLUDES) $< -o $@

Expand Down

0 comments on commit d6f57b3

Please sign in to comment.