Wednesday, 7 August 2013

Makefile separate src and build dir

Makefile separate src and build dir

So I am writing up a Makefile and I would like to separate the build and
source directories now my initial thought was just oh I can write my rules
prepending the source path to the filename and be done with it. The
problem is that is super repetitive and doesn't look very nice. What would
be the best approach for writing myself a makefile that separates this in
a nice way.

No comments:

Post a Comment