aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8489a46
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+CC=ghc
+FILES=Main.hs Math.hs
+OUT=nd
+
+$(OUT): $(FILES)
+ $(CC) $^ -o $@
+
+.PHONY: run
+run:
+ $(MAKE)
+ ./$(OUT) -int 200 300 400 10009