summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e1a04a7..24ae28f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
TARGET := sanctuary
SRCS = sanctuary.s
+FTHS = sanctuary.fs
all: $(TARGET)
$(TARGET): $(TARGET).o
ld -N -static -o $@ $<
-$(TARGET).o: $(SRCS)
+$(TARGET).o: $(SRCS) $(FTHS)
nasm -g -F dwarf -f elf64 -o $@ $<
.PHONY: clean