aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ce6d7e..0c27b69 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@ run: $(TARGET)
./$(TARGET) $(RUNFLAGS)
-$(TARGET): $(wildcard *.hs)
+$(TARGET): $(wildcard *.hs) liblang.o
@mkdir -p obj
ghc $(GHCFLAGS) Main.hs -o $@
+
+liblang.o: liblang.asm
+ yasm -w+all -fmacho64 $< -o $@