#
# gmake file to build all programs in this directory

OPTS=-I.
LIBS=-lpthread

PROGS=tinyserver tinyclient vulnserver vulnclient \
	twoserver webserver webclient \
	problem2 problem3 problem4 problem5

all: $(PROGS)

# How to build a program from a source code file:
%: %.cpp 
	$(CXX) $(OPTS) $< -o $@ $(LIBS)

clean:
	-rm *.o *~ $(PROGS)
