diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-01-20 16:21:22 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-01-20 16:21:22 +0100 |
commit | fbed3a4b44823256f17c6a4473e0ec3f63792be6 (patch) | |
tree | 7e56bd392c38670ab89e072301e85205d00fca11 /Makefile |
Initial -- dump of stuff
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cb0faab --- /dev/null +++ b/Makefile @@ -0,0 +1,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 $@ |