aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-06-26 14:36:54 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-06-26 14:36:54 +0100
commitf82f9831b1a4773f0a47c6daf176b63da82aa962 (patch)
tree4f67d238ff34827e781f78fa5f902cee32192170 /Makefile
parent644fd5589abe9eac44b2108c654567f8078309ba (diff)
downloadnumberdisplay-f82f9831b1a4773f0a47c6daf176b63da82aa962.tar.gz
numberdisplay-f82f9831b1a4773f0a47c6daf176b63da82aa962.tar.bz2
numberdisplay-f82f9831b1a4773f0a47c6daf176b63da82aa962.zip
(Build)+Makefile with basic recipes
Diffstat (limited to 'Makefile')
-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