← 10 People You Don't Want A Call From

Cakefile

Lol, time for another short randomness. Today, I was thinking about how Makefiles didn't have to be used for compiling programs, that they could be used as a recipe for anything. Then I thought, "I know! Let's make a cake using a Makefile!" :)

all: cake topping
![Image](http://other.fourisland.com/spacer.png) $(COMBINE) cake topping

topping: butter milk brown_sugar salt
![Image](http://other.fourisland.com/spacer.png) $(ADD) butter 115g
![Image](http://other.fourisland.com/spacer.png) $(ADD) milk 60ml
![Image](http://other.fourisland.com/spacer.png) $(ADD) brown_sugar 220g
![Image](http://other.fourisland.com/spacer.png) $(ADD) salt pinch
![Image](http://other.fourisland.com/spacer.png) $(BOIL) 3m

cake: wet_mix dry_mix
![Image](http://other.fourisland.com/spacer.png) $(COMBINE) wet_mix dry_mix
![Image](http://other.fourisland.com/spacer.png) $(BAKE) 350F 75m
![Image](http://other.fourisland.com/spacer.png) $(COOL) 10m

wet_mix: eggs sugar vegetable_oil vanilla
![Image](http://other.fourisland.com/spacer.png) $(BEAT) eggs eggs eggs
![Image](http://other.fourisland.com/spacer.png) $(ADD) sugar 400g
![Image](http://other.fourisland.com/spacer.png) $(ADD) vegetable_oil 355ml
![Image](http://other.fourisland.com/spacer.png) $(ADD) vanilla 10ml

dry_mix: flour salt baking_soda
![Image](http://other.fourisland.com/spacer.png) $(ADD) flour 375g
![Image](http://other.fourisland.com/spacer.png) $(ADD) salt 6g
![Image](http://other.fourisland.com/spacer.png) $(ADD) baking_soda 5g

The recipe described is the Caramel Coffee Cake from Wikibooks. Let it assemble before using the linker. Enjoy. Lol :)

A SIDENOTE: When writing this post, I was trying to indent the command lines in the Makefile so that it looked right, but I was tricked by my own code: My pre BBCode no longer preformatted the text, &nsbp; was converted into text, and the

    indent trick messed up the formatting. I tried adding a BBCode that preformatted the text, but I was unable to commit as, on my development computer, I'm currently working on the new layout for Four Island. Finally, I thought of making a transparent image and putting it on Four Island Other. It workded. :)

Hatkirby on
👍 0 👎

Comments

lol I like it :D.

tamasys on June 24th, 2009 at 3:51:13am
Replying to comment by :
Feel free to post a comment! You may use Markdown.