help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I avoid duplication of code in makefiles?


From: Angel Tsankov
Subject: How can I avoid duplication of code in makefiles?
Date: Fri, 12 Aug 2005 17:42:10 +0300

I've noticed that some of my makefiles differ only in:
output file name;
extension of source files;
compiler that is to be invoked;
compiler options;

All the rest is the same - variables, functions and targets.
Provided this, how can I reduce duplication of code in makefiles?

Angel Tsankov
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]