about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0e899bb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+flags := -std=c++20 -Wall -Wextra -Wpedantic -O3
+
+server_bin: server/src/main.cpp
+	g++ $^ ${flags} -o $@ 
+client_bin:
+	g++ $^ ${flags} -o $@
+
+.PHONY: clean
+clean:
+	rm -f server_bin client_bin