Class for Parsing (GNU) Makefiles...
Posted on 1998-03-15
I am trying to find a parsing class (or even straight C code) for (GNU/DJGPP) Makefiles. It is for a personal project that uses DJGPP (MS-DOS version of the GNU C/C++ compiler), and I need to read in a Makefile, and be able to find out compiler and linker flags, defines, what targets are available, what the dependencies are for each target, etc, etc.
Even a class that does partial parsing would be helpful, I might be ableo to finish the rest. I just to not know that much about Makefiles.