summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d20ec79..e42fcd7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
TARGET := jefs
SRCS = $(TARGET).s
-all: $(TARGET) $(TARGET).fs
+all: $(TARGET)
$(TARGET): $(TARGET).o
ld --omagic -static -o $@ $<
-$(TARGET).o: $(SRCS)
+$(TARGET).o: $(SRCS) $(TARGET).fs
nasm -g -F dwarf -O0 -f elf64 -o $@ $<
.PHONY: clean