Rik's Ramblings

Saturday, April 10, 2010

Stupid makefiles

Why do make files have their own language? Why is it that the crucial last step to build your app, as a C/C++ developer, is write a script in an obscure '70s language?

Why can't I write my makefiles in C? I know how to write C, I do it every day! But makefile, I have no idea how or why it works (or doesnt).

Once ever three months I'm forced to crack open a makefile and dick with some obscure jumble on non-alpha characters that dictate the relationships between some .cpp files and some .o files. No wonder I get it wrong and resort to copy/paste of an old 400line makefile from the 802.3 driver I tampered with 5 years ago.


Post a Comment

<< Home