aboutsummaryrefslogtreecommitdiffstats
path: root/101/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '101/Makefile')
-rw-r--r--101/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/101/Makefile b/101/Makefile
new file mode 100644
index 0000000..eb309ff
--- /dev/null
+++ b/101/Makefile
@@ -0,0 +1,18 @@
+
+CFLAGS = -std=c++2c -mavx -Iinclude -ggdb
+
+.PHONY: all run_main clean gnuplot
+
+run: gnuplot
+
+gnuplot: plots.gp run_main
+ gnuplot $<
+
+run_main: main
+ ./main
+
+main: main.cpp include/*
+ $(CXX) -o $@ $< $(CFLAGS)
+
+clean:
+ rm -fr main *.png *.plot