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.
		
		
		
		
		
			
	
	
		
			
				
				
					
						
						
							| 
								
							 | 
							
								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) -g Main.cpp -o simulation $(OBJ) $(LDFLAGS)
							 | 
						
						
						
							| 
								
							 | 
							
									
							 | 
						
						
						
							| 
								
							 | 
							
								clean:
							 | 
						
						
						
							| 
								
							 | 
							
									rm -f *.o simulation
							 |