repo.or.cz
/
cake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated to vers 7.5
[cake.git]
/
tools
/
genmf
/
tmpl.test
blob
93698c8bc73ac0759cdd83e29a6f394ca1ff28ce
1
%define template1 arg1=x arg2=y
2
# Begin template1
3
echo "%(arg1) %(arg2)"
4
# End template1
5
%end
6
7
%define template2 arg1=a arg2=b
8
# Begin template2
9
%template1 %(arg1) %(arg2)
10
# End template2
11
%end
12
13
%define template3 arg1=x arg2=$(CURDIR)
14
# Begin template1
15
echo "%(arg1) %(arg2) $(CURDIR)"
16
# End template1
17
%end
18
19
%define common
20
# This is the common part of all makefiles
21
%end
22