diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-08-20 11:57:02 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-08-20 11:57:02 +0200 |
commit | f8d264f2b18fccdc3b96d8fb66656128a25137f2 (patch) | |
tree | c4da71e1b7bed93b9f2728503212b6fc43cc9e32 /Makefile | |
parent | 965f8bf85d7850be074bad735d815b15a85a3de0 (diff) |
Separate lib into object file
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 $@ |