Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

how do i make file

Name: Anonymous 2015-02-20 20:14

Incremental compilation is nice, but expressing dependencies between objects, sources and headers is a pain in the ass. gcc -M is utter garbage not unlike GCC itself and generates thirty to fifty useless prerequisites per file in case one of the system headers changes. Gotta make sure, the user might be retarded after all.

How do I write good make files and still have time for actual programming?

Name: Anonymous 2015-02-21 10:59

>>5
gcc -MM is better, thanks. Still kind of awkward, but at least it's not shit. Dropping include guards sounds insane on the surface, how viable is it actually when a program becomes bigger?

>>6
I'd use autoconf if unreadable machine-generated garbage was acceptable. Performing a make clean after a system update is not hard, and even if it were, the error class it prevents is rather minor: Changes of system headers will most likely trigger compilation failures or be inconsequential. Something minor like that isn't worth such a sacrifice in readability.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List