bah

Aug 24, 2006 21:04

I should probably be working on making my pong game build with a GNU Makefile, but I'm kind of unmotivated and just sitting here. I'm not really sure what's wrong with the Makefile I wrote, which adds to the problem - lack of information about the problem makes it less interesting to me. If I had a bunch of information, some of it seemingly ( Read more... )

programming

Leave a comment

Comments 7

hexapod August 25 2006, 11:33:28 UTC
how does it fail?

Reply

bsdcat August 25 2006, 15:29:22 UTC
The pattern rule I set up runs exactly once, rather than once per file that matches the pattern.

The more correct thing would probably be to do moderate parsing of the files and generate the Makefile targets based on what each includes (since that changes over time as I refactor, etc.)

Reply

hexapod August 25 2006, 15:40:25 UTC
So.. you have something like:

%.output: %.input
compiler -c -o $@ $<

?

Reply

hexapod August 25 2006, 15:40:39 UTC
except with a tab before compiler

Reply


Leave a comment

Up