diff options
| author | Michael Forney <mforney@mforney.org> | 2016-11-19 18:11:12 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-11-20 16:14:20 -0800 |
| commit | de4e4c63378c6fd0dc2504ddce5a13ee1e62504a (patch) | |
| tree | 996c7ca19cea166be6b0f1cb2fa364c4e96d3e69 /extra/libusb | |
| parent | cd820c03fc5b00354fa5a444216726fc46a22a5d (diff) | |
Drop phony/ prefix from phony targets
There is little chance of collision between phony target names and actual
sources checked in $dir. Additionally, it was a bit magical when processing
phony sources because paths starting with $ or phony/ were left alone, while
others were prepended with $outdir/.
Also, where appropriate, use phony targets for dependencies instead of
specifying all of them for every compile action. This makes the resulting ninja
files easier to read, and might be more efficient too.
Diffstat (limited to 'extra/libusb')
| -rw-r--r-- | extra/libusb/gen.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/libusb/gen.rc b/extra/libusb/gen.rc index 44dee5d3..e57cdd13 100644 --- a/extra/libusb/gen.rc +++ b/extra/libusb/gen.rc @@ -4,7 +4,7 @@ cflags\ -I '$srcdir'/libusb build '$outdir'/include/libusb.h copy '$srcdir'/libusb/libusb.h -phony headers include/libusb.h +phony headers '$outdir'/include/libusb.h lib libusb-1.0.a libusb/^(\ core.c descriptor.c hotplug.c io.c strerror.c sync.c\ |
