about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-03-21 10:41:22 +0100
committerChristian Krinitsin <mail@krinitsin.com>2025-03-21 10:41:22 +0100
commit20ae154d21b8b9111e550b936ea23325a6de8e84 (patch)
tree90f37ba419c0a1d7d1a2b5867ac3a25709a5fc60
parent75390f5097cb3116de20663bc5fb7490b6a0c1b3 (diff)
downloadBT-Programming-Assignment-20ae154d21b8b9111e550b936ea23325a6de8e84.tar.gz
BT-Programming-Assignment-20ae154d21b8b9111e550b936ea23325a6de8e84.zip
edit Makefile
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c83ae3..b526fed 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
 CXX = g++
 CXXFLAGS := -std=c++23 -Wall -Wextra -Wpedantic -O3 -Isrc/common
 
+.PHONY: all server client
+all: server client
 server: src/server/main.cpp
 	${CXX} ${CXXFLAGS} $^ -o $@ 
-client:
+client: src/client/main.cpp
 	${CXX} ${CXXFLAGS} $^ -o $@
 
 .PHONY: clean