blob: cb0faabbd62d61d4f883a81dc305530a9e758cdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
GHC = ghc
GHCFLAGS = -Wall -O3
TARGET = main
.PHONY: all clean remake
all: $(TARGET)
clean:
rm -f $(TARGET) *.o *.hi
remake: clean
make all
$(TARGET): *.hs
$(GHC) $(GHCFLAGS) $^ -o $@
|