about summary refs log tree commit diff stats
path: root/Makefile
blob: b526fede40f08e21d106da1626c986166c39eb85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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: src/client/main.cpp
	${CXX} ${CXXFLAGS} $^ -o $@

.PHONY: clean
clean:
	rm -f server client