10 People You Don't Want A Call From __TITLE__ Poll

Cakefile

Hatkirby Add Comment »
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 $(COMBINE) cake topping

topping: butter milk brown_sugar salt
Image $(ADD) butter 115g
Image $(ADD) milk 60ml
Image $(ADD) brown_sugar 220g
Image $(ADD) salt pinch
Image $(BOIL) 3m

cake: wet_mix dry_mix
Image $(COMBINE) wet_mix dry_mix
Image $(BAKE) 350F 75m
Image $(COOL) 10m

wet_mix: eggs sugar vegetable_oil vanilla
Image $(BEAT) eggs eggs eggs
Image $(ADD) sugar 400g
Image $(ADD) vegetable_oil 355ml
Image $(ADD) vanilla 10ml

dry_mix: flour salt baking_soda
Image $(ADD) flour 375g
Image $(ADD) salt 6g
Image $(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 June 23rd 2009 at 3:32:36 pm +1 0 -1
lol I like it :D.
tamasys on June 24th 2009 at 3:51:13 am
Anonymous, feel free to post a comment

Name:
Email:
Website (Optional):
Security Image: CAPTCHA Image
Security Code: