I'm sending this here, not because it's directly related to Racket,
nor because i think you all are experts in make or GNU make, but 
because you are reasonable erudite in language appreciation.

I, like many others, have been using a Makefile as a recipe to make a 
lot of files from other files.

The trouble is that a lot of the stanzas are quite repetitive.  I want 
to refactor.

If I were writing this in any other language then make,  i would just 
define a function with about three or four short parameters and call it 
many times, each time doing the equivalent of several of these stanzas.

Roughly speaking, the abstraction tools of GNU Make are terrible.

I'd like to ask you, what other tools might you actually recommend to 
used in addition to make, or instead of it, that make the build 
process more like normal programming?

If I could get make to run a program to make another makefile and then 
execute that new makefile, I suppose I could write the program that 
makes all the repetitive (but not quite the same) stanzas.  But that 
would likely make the build process somewhat obscure.

Sure, I could invent something.  But chances are, someone else already 
has invented something better than I'd improvise.

-- hendrik

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to