4 ms·
Back in '02 I wrote a C program called "clump" that compiles and links C code, detecting dependencies automatically by scanning for "includes". http://github.c
by fexl 16y ago
Back in '02 I wrote a C program called "clump" that compiles and links C code, detecting dependencies automatically by scanning for "includes".
http://github.com/chkoreff/Clump/blob/master/src/README http://github.com/chkoreff/Clump/blob/master/src/README
People have been downloading it consistently ever since, and I know some of them like it a lot.
So with this program you just cd into your code directory, type "clump", and it builds your executable program in ../bin.
One current limitation: it expects all the .h and .c files to be in a single directory. I could enhance it to walk through a directory structure, but I haven't gotten around to it. Yeah I know, even after 8 years. :)