#
# gmake file to build all programs in this directory

OPTS=-I.
LIBS=-lpthread

PROGS=tinyserver tinyclient vulnserver vulnclient twoserver webserver webclient

all: $(PROGS)

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

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