place example makefiles
This commit is contained in:
		
							
								
								
									
										15
									
								
								slides/makefiles/examples/fort_2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								slides/makefiles/examples/fort_2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
|  | ||||
| forts/big_fort.txt: forts/short.txt forts/long.txt | ||||
| 		cat $^ > $@ | ||||
|  | ||||
| forts/: | ||||
| 	mkdir $@ | ||||
|  | ||||
| forts/short.txt: forts/ | ||||
| 	fortune -s > $@ | ||||
|  | ||||
| forts/long.txt: forts/ | ||||
| 	fortune -l > $@ | ||||
|  | ||||
| clean: | ||||
| 	rm -rf forts | ||||
		Reference in New Issue
	
	Block a user