# Simple makefile for cse333 lec21 (DNS) code

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

all: genaddr genstring dnsresolve

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

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

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

clean:
	rm -rf dnsresolve genaddr genstring *.o *~ *.dSYM