From aa049227c17f15ad22092f1fcab4410bbf3521ba Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 26 Aug 2017 23:16:00 +0200 Subject: Cleanup and features debugger, bitwise ops, bounds checking, hex literals, better typing of some optimisations, makefile fix, exit function. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ee0c6fb..0d7bf09 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ RUNFLAGS = -GHCFLAGS = -Wall -Widentities -Wno-unused-imports -odir obj -hidir obj +GHCFLAGS = -Wall -Widentities -Wno-unused-imports -odir obj -hidir obj -j2 ifneq ($(PROFILE),) RUNFLAGS += +RTS -xc GHCFLAGS += -prof -fprof-auto @@ -11,7 +11,7 @@ TARGET = main .PHONY: all clean run -all: $(TARGET) +all: $(TARGET) liblang.o clean: rm -f $(TARGET) @@ -21,7 +21,7 @@ run: $(TARGET) ./$(TARGET) $(RUNFLAGS) -$(TARGET): $(wildcard *.hs) liblang.o +$(TARGET): $(wildcard *.hs) @mkdir -p obj ghc $(GHCFLAGS) Main.hs -o $@ -- cgit v1.2.3-70-g09d2