a4
This commit is contained in:
		
							parent
							
								
									36ee603067
								
							
						
					
					
						commit
						ec34196477
					
				
							
								
								
									
										13
									
								
								a4/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								a4/Makefile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					CC=gcc
 | 
				
			||||||
 | 
					CFLAGS=-Wall -Wextra -g
 | 
				
			||||||
 | 
					LDFLAGS=-lncurses
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					OBJS=main.o world.o game.o
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					all: game
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					game: $(OBJS)
 | 
				
			||||||
 | 
						$(CC) -o $@ $^ $(LDFLAGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
 | 
						rm -f *.o game
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user