summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-10-16 13:49:09 -0700
committerJulian Blake Kongslie2022-10-16 13:49:09 -0700
commite0c907c5dcf0015da093e5d92de4633e75c1bf19 (patch)
treeb05c99ff879eb2a5ed34e2c06a955724c4332b31 /Makefile
parentSlightly prettier pipeline diagram (diff)
downloadbiggolf-e0c907c5dcf0015da093e5d92de4633e75c1bf19.tar.xz
Strip the leader from palbart output
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8f628b..14de52f 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@ $(BUILD)/%.bin: %.pal
63 @mkdir -p $(dir $@) 63 @mkdir -p $(dir $@)
64 ln -ft $(dir $@) $< 64 ln -ft $(dir $@) $<
65 $(PALBART) -$$ -a -n $(basename $@).pal 65 $(PALBART) -$$ -a -n $(basename $@).pal
66 dd if=$@ bs=240 skip=1 2>/dev/null | sponge $@
66 67
67$(BUILD)/%.o: $(BUILD)/%.bin 68$(BUILD)/%.o: $(BUILD)/%.bin
68 cd $(dir $@) && $(LD) -r -b binary -z noexecstack -o $(notdir $@) $(notdir $<) 69 cd $(dir $@) && $(LD) -r -b binary -z noexecstack -o $(notdir $@) $(notdir $<)