aboutsummaryrefslogtreecommitdiffstats
path: root/204/Makefile
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2025-03-05 20:12:26 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2025-03-05 20:12:26 +0300
commit620b996f2ffe5e9e426b88f57e4f46bc9af7f237 (patch)
treeabb62586d4d569807ecefc007eef2316d521084c /204/Makefile
parente10c7380486e07b277001ab3aa653b74aa990f79 (diff)
added 204
Diffstat (limited to '204/Makefile')
-rw-r--r--204/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/204/Makefile b/204/Makefile
new file mode 100644
index 0000000..224506f
--- /dev/null
+++ b/204/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 $< &>/dev/null
+
+run_main: main
+ ./main
+
+main: main.cpp include/*
+ $(CXX) -o $@ $< $(CFLAGS)
+
+clean:
+ rm -fr main *.png *.plot