makefile: how to call macros in macros
Posted
by Matthias Günther
on Stack Overflow
See other posts from Stack Overflow
or by Matthias Günther
Published on 2010-05-07T17:09:14Z
Indexed on
2010/05/07
17:18 UTC
Read the original article
Hit count: 553
Hello,
I have the following macros in my make file:
pdf: // do something
clean: // just another fancy thing
No I want to declare a macro all: which include (or call) the makros above. The following thing doesn't work:
all: pdf: clean:
I don't want to repeat the code from pdf: and clean: in order not to rebel against DRY principle.
Thanks for your help.
© Stack Overflow or respective owner