build/pymake/tests/implicit-dir.mk

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # Implicit rules have special instructions to deal with directories, so that a pattern rule which doesn't directly apply
     2 # may still be used.
     4 all: dir/host_test.otest
     6 host_%.otest: %.osource extra.file
     7 	@echo making $@ from $<
     9 test.osource:
    10 	@echo TEST-FAIL should have made dir/test.osource
    12 dir/test.osource:
    13 	@echo TEST-PASS made the correct dependency
    15 extra.file:
    16 	@echo building $@

mercurial