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

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