aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 0 insertions, 29 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 5602120..0000000
--- a/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-RUNFLAGS =
-GHCFLAGS = -Wall -Widentities -Wno-unused-imports -odir obj -hidir obj -j4
-ifneq ($(PROFILE),)
- RUNFLAGS += +RTS -xc
- GHCFLAGS += -prof -fprof-auto
-else
- GHCFLAGS += -O3
-endif
-
-TARGET = main
-
-.PHONY: all clean run
-
-all: $(TARGET) liblang.o
-
-clean:
- rm -f $(TARGET)
- rm -rf obj
-
-run: $(TARGET)
- ./$(TARGET) $(RUNFLAGS)
-
-
-$(TARGET): $(wildcard *.hs)
- @mkdir -p obj
- ghc $(GHCFLAGS) Main.hs -o $@
-
-liblang.o: liblang.asm
- yasm -w+all -fmacho64 $< -o $@