Changeset View
Changeset View
Standalone View
Standalone View
autotests/folding/Makefile.fold
1 | # comment | 1 | # comment | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | include Makefile.in | 3 | include Makefile.in | ||
4 | -include Makefile.doesntexist | 4 | -include Makefile.doesntexist | ||
5 | 5 | | |||
6 | .PHONY: all | 6 | .PHONY: all | ||
7 | 7 | | |||
8 | all: target | 8 | all: target | ||
9 | 9 | | |||
10 | foo = bar $(var) \ | 10 | foo = bar $(var) \ | ||
11 | $(baz) quux | 11 | $(baz) quux | ||
12 | 12 | | |||
13 | <beginfold id='2'>ifeq</beginfold id='2'> ($(CC),gcc) | 13 | <beginfold id='2'>ifeq</beginfold id='2'> ($(CC),gcc) | ||
14 | bla=$(call func,param1,param2) | 14 | bla=$(call func,param1,param2) | ||
15 | <endfold id='2'>else</endfold id='2'> ifeq "x" "y"<beginfold id='2'>else</beginfold id='2'> ifeq "x" "y" | 15 | <endfold id='2'></endfold id='2'><beginfold id='2'>else</beginfold id='2'> ifeq "x" "y" | ||
16 | $(error this seems wrong) | 16 | $(error this seems wrong) | ||
17 | <endfold id='2'>else</endfold id='2'><beginfold id='2'>else</beginfold id='2'> | 17 | <endfold id='2'></endfold id='2'><beginfold id='2'>else</beginfold id='2'> | ||
18 | libs=$(normal_libs) | 18 | libs=$(normal_libs) | ||
19 | <endfold id='2'>endif</endfold id='2'> | 19 | <endfold id='2'>endif</endfold id='2'> | ||
20 | 20 | | |||
21 | target1: | 21 | target1: | ||
22 | error | 22 | error | ||
23 | 23 | | |||
24 | target2: bla.cpp $@ | 24 | target2: bla.cpp $@ | ||
25 | $(CC) bla.c -o bla.o | 25 | $(CC) bla.c -o bla.o | ||
26 | $(CC) bla.o $< \ | 26 | $(CC) bla.o $< \ | ||
27 | -o bla.exe | 27 | -o bla.exe | ||
28 | @echo "hello" | 28 | @echo "hello" |