summaryrefslogtreecommitdiff
path: root/Makefile
blob: 499a974d6d7ce3529daaa26da984dbcfab52221e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
GHC = ghc
GHCFLAGS = -Wall -Wno-type-defaults -O3

TARGET = main

.PHONY: all clean remake

all: $(TARGET)

clean:
	rm -f $(TARGET) *.o *.hi

remake: clean
	make all


$(TARGET): *.hs
	$(GHC) $(GHCFLAGS) $^ -o $@