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
267 B

  1. CXX = g++
  2. CXXFLAGS = -Wall
  3. LDFLAGS = -pthread
  4. OBJ = Packet.o Node.o NATItem.o NATRouter.o
  5. all:
  6. +@make simulation
  7. %.o: %.cpp
  8. $(CXX) $(CXXFLAGS) -c -g $<
  9. simulation: Main.o $(OBJ)
  10. $(CXX) -g Main.cpp -o simulation $(OBJ) $(LDFLAGS)
  11. clean:
  12. rm -f *.o simulation