aboutsummaryrefslogtreecommitdiff
path: root/cli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cli/Makefile')
-rw-r--r--cli/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/Makefile b/cli/Makefile
new file mode 100644
index 0000000..827617d
--- /dev/null
+++ b/cli/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