Path: utzoo!attcan!uunet!mcvax!kth!draken!tut!santra!kampi!alo From: alo@kampi.hut.fi (Antti Louko) Newsgroups: comp.lang.c Subject: Cake (was Recursive #includes) Summary: Cake can susprise you Message-ID: <20078@santra.UUCP> Date: 2 Mar 89 20:47:58 GMT References: <9752@smoke.BRL.MIL> <238@yasc.PLA.CA.US> Sender: news@santra.UUCP Reply-To: alo@hut.fi (Antti Louko) Organization: Helsinki University of Technology, Finland Lines: 22 In article <238@yasc.PLA.CA.US> geoff@yasc.PLA.CA.US (Geoff Leach) writes: >Turns out there's a cure for this. Try "cake", posted to comp.sources.unix, >volume 12. Not only does it permit the user to program _all_ his/her own >rules, but it also permits the specification of dynamic dependencies. When I saw cake first time, it seemed just fine. But after a while I realized one thing. After that I haven't used cake anymore. Lets have an Cakefile: $ cat Cakefile vax: /dev/null cp /dev/null vax $ cake cp /dev/null 1 $ Funny, uh? If you have a SUN, replace "vax" with "sun". Try GNU make instead. It is more compatible with original make and it doesn't confuse variable names with file names.