|
|
- CXX = g++
- CXXFLAGS = -Wall -std=c++11
- LDFLAGS = -pthread -lncurses
- OBJ = Log.o Packet.o Node.o NATItem.o NATRouter.o Peer.o P2PServer.o Simulation.o
-
- all:
- +@make simulation
-
- %.o: %.cpp
- $(CXX) $(CXXFLAGS) -c -g $<
-
- simulation: Main.o $(OBJ)
- $(CXX) $(CXXFLAGS) -g Main.cpp -o simulation $(OBJ) $(LDFLAGS)
-
- clean:
- rm -f *.o simulation
|