CXX = g++
CXXFLAGS = -Wall -std=c++11
LDFLAGS = -pthread
OBJ = Packet.o Node.o NATItem.o NATRouter.o

all:
	+@make simulation

%.o: %.cpp
	$(CXX) $(CXXFLAGS) -c -g $<
	
simulation: Main.o $(OBJ)
	$(CXX) -g Main.cpp -o simulation $(OBJ) $(LDFLAGS)
	
clean:
	rm -f *.o simulation