# Simple makefile for cse333 lec23 (server) code

CXX = g++
CPPFLAGS = -Wall -g -std=c++17

all: server_bind_listen server_accept_rw_close

server_bind_listen: server_bind_listen.cc
	$(CXX) $(CPPFLAGS) -o server_bind_listen server_bind_listen.cc

server_accept_rw_close: server_accept_rw_close.cc
	$(CXX) $(CPPFLAGS) -o server_accept_rw_close server_accept_rw_close.cc

clean:
	rm -rf server_bind_listen server_accept_rw_close *.o *~ *.dSYM