diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-12-14 22:15:21 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-12-14 22:15:21 +0100 |
commit | 3ab0248cbab1ac74c8ce5f01fc41d673d6f9f27b (patch) | |
tree | 68f9de0230eacdfe907c9ff97a6a0e3948bef99d /Makefile | |
parent | c0078e855880df91896ed0953bb5c07441dbc72f (diff) |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
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 $@ |