GNU Make parser and dependency generation.

2016-03-19 Thread Hemant Bhagat
Hello, Hope You are doing well! My problem statement is, I need to get all the rules information from Makefile in a separate data structure which will be latter used by our program. I don't need to execute the project and create any executables. I just need Target, Dependency, Command informati

Re: make VAR+=VAL

2016-03-19 Thread Paul Smith
On Tue, 2016-03-15 at 10:29 +0800, 一瓶水 wrote: > I saw GNU make (I am using 3.8.1) allows the usage of 'make VAR+=VAL' > command line, but it does not append VAL to VAR and instead it > overrides VAR to VAL. > > > Is this expected behavior? I did not find any doc explaining the usage > of VAR+=VA