# define the commands we will use for compilation and library building CXX = g++ # define useful flags to cc/ld/etc. CFLAGS = -g -Wall -Wpedantic -O0 # define common dependencies HEADERS = ClientSocket.h CSE333.h CSE333Socket.h ServerSocket.h OBJS = ClientSocket.o CSE333Socket.o ServerSocket.o Verify333.o all: $(OBJS) %.o: %.cc $(HEADERS) $(CXX) -std=c++11 $(CFLAGS) -c $< .PHONY: clean clean: /bin/rm -f *.o *~