mirror of
				https://github.com/fooflington/wordsearch.git
				synced 2025-11-04 06:19:03 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			175 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			175 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 
								 | 
							
								CC=gcc
							 | 
						||
| 
								 | 
							
								CFLAGS=-DDEBUG_GRID_MAIN
							 | 
						||
| 
								 | 
							
								DEPS=dir.o rnd.o grid.o
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								wordsearch: $(DEPS)
							 | 
						||
| 
								 | 
							
									$(CC) -o wordsearch $(DEPS) $(CFLAGS)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								%.o: %.c 
							 | 
						||
| 
								 | 
							
									$(CC) -c -o $@ $< $(CFLAGS)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								clean:
							 | 
						||
| 
								 | 
							
									rm $(DEPS)
							 |