writing (Gnu)MAKE in Python
Donn Cave
donn at u.washington.edu
Mon Jun 19 19:25:07 EDT 2000
Quoth "John Schmitt" <jschmitt at vmlabs.com>:
[... quoting myself]
|> But there might a be a good chance for a radically different solution
|> to the basic problem. OOP is an obvious fit. The two step, configure
|> and make strategy that's common today is an obvious target for
|> replacement.
...
| Anyway, how is OOP an obvious fit to this problem in general? Not obvious
| to me. The general idea of make seems pretty good to me, but as I just
| learned, it's being applied to problems I don't understand very well.
When you write a makefile, you're defining attributes and methods for
your target objects. There's inheritance, too - the target for
spud.o: spud.c inherits its method from a generic .o.c target. It's
very limited in make itself, of course.
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list