aboutsummaryrefslogtreecommitdiffstats
path: root/227/Makefile
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2025-02-24 21:26:32 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2025-02-24 21:26:32 +0300
commite10c7380486e07b277001ab3aa653b74aa990f79 (patch)
tree56911e9760a43f9753fb0190952eaf4fd9ad6151 /227/Makefile
parent8269ece153d9f8d1a8a5fb7238adce6aa4226f99 (diff)
Added 227
Diffstat (limited to '227/Makefile')
-rw-r--r--227/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/227/Makefile b/227/Makefile
new file mode 100644
index 0000000..224506f
--- /dev/null
+++ b/227/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