Загрузил(а) файлы в 'final'
This commit is contained in:
		
							parent
							
								
									180344d44a
								
							
						
					
					
						commit
						f0115060ed
					
				
							
								
								
									
										14
									
								
								final/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								final/Makefile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
			
		||||
CFLAGS=-std=c99 -Wall -g
 | 
			
		||||
 | 
			
		||||
all: game
 | 
			
		||||
 | 
			
		||||
%.o: %.c
 | 
			
		||||
	gcc $(CFLAGS) -c $< -o $@
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
	rm *.o
 | 
			
		||||
	rm game
 | 
			
		||||
 | 
			
		||||
game: main.o game.o world.o
 | 
			
		||||
	gcc main.o game.o world.o -lcurses -lm -o game
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user