diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -13,7 +13,9 @@ $(BUILD): # -- Host-side C compilation (sdcc on host) -------------------------------------------- $(BUILD)/%.hex: fw/%.c | $(BUILD) - cd $(BUILD) && sdcc --use-non-free -mpic14 -p16f84a $(CURDIR)/fw/$*.c + cd $(BUILD) && sdcc --use-non-free -mpic14 -p16f84a \ + -Wl-s -Wl$(CURDIR)/fw/fpga_pic.lkr \ + $(CURDIR)/fw/$*.c # program.hex is what the testbench loads at runtime $(BUILD)/program.hex: $(BUILD)/$(PROG).hex |
