aboutsummaryrefslogtreecommitdiffstats
path: root/118/Makefile
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2024-12-02 16:25:24 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2024-12-02 16:25:24 +0300
commit17c1a6895263eb31bdfb8859cb5ebc7255dae23c (patch)
tree7e3dfbbad181c57b37e755df9a33ac575aae488c /118/Makefile
parentdfa85cca6464637aa6ad943da3f9ce8ccdfeca1f (diff)
added 118 prak
Diffstat (limited to '118/Makefile')
-rw-r--r--118/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/118/Makefile b/118/Makefile
new file mode 100644
index 0000000..eb309ff
--- /dev/null
+++ b/118/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