From f82f9831b1a4773f0a47c6daf176b63da82aa962 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 26 Jun 2021 14:36:54 +0100 Subject: (Build)+Makefile with basic recipes --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile 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 -- cgit v1.2.3-13-gbd6f