summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefile b/makefile
index 4a9f2a8..d5a3939 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,7 @@
OUTPUTDIR = ./bin
+EXECUTABLES = ${OUTPUTDIR}/test
all: test
@@ -9,6 +10,9 @@ clean:
find . -name '*.hi' -delete
find . -name '*.o' -delete
+distclean:
+ rm ${EXECUTABLES}
+
test:
ghc --make ./test.hs -o ${OUTPUTDIR}/test