Symulacja NAT na przedmiot Symulacje Komputerowe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
255 B

CXX = g++
CXXFLAGS = -Wall
LDFLAGS = -pthread
OBJ = Packet.o NATItem.o Node.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