10 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| solution-part%: solution-part%.c
 | |
| 	gcc $< -o $@
 | |
| 
 | |
| test-%: solution-% example.txt
 | |
| 	$< example.txt
 | |
| 
 | |
| run-%: solution-% realinput.txt
 | |
| 	$< realinput.txt
 | |
| 
 | |
| .PHONY: $(patsubst %,run-%, 1 2) $(patsubst %,test-%, 1 2)
 |