Changeset 284 in kBuild for branches/GNU/src/gmake/tests/scripts/misc
- Timestamp:
- May 16, 2005 4:54:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gmake/tests/scripts/misc/general4
r53 r284 7 7 8 8 open(MAKEFILE,"> $makefile"); 9 10 # The contents of the Makefile ...11 12 9 print MAKEFILE <<'EOF'; 13 10 # Make sure that subdirectories built as prerequisites are actually handled … … 22 19 dir/subdir/%.a: dir/subdir/%.b ; @echo cp $< $@ 23 20 EOF 24 25 21 close(MAKEFILE); 26 22 … … 29 25 &compare_output($answer,&get_logfile(1)); 30 26 27 # Test implicit rules 28 29 &touch('foo.c'); 30 run_make_test('foo: foo.o', 31 'CC="@echo cc" OUTPUT_OPTION=', 32 'cc -c foo.c 33 cc foo.o -o foo'); 34 unlink('foo.c'); 35 36 37 # Test other implicit rule searching 38 39 &touch('bar'); 40 run_make_test(' 41 test.foo: 42 %.foo : baz ; @echo done $< 43 %.foo : bar ; @echo done $< 44 fox: baz 45 ', 46 '', 47 'done bar'); 48 unlink('bar'); 49 31 50 1;
Note:
See TracChangeset
for help on using the changeset viewer.

