diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-25 17:00:24 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-30 14:54:26 +0000 |
commit | 21913d5f728023954348dd25019fcf848d824ae6 (patch) | |
tree | c3b3d6806e0214dfced26996657ff87a072f9634 | |
parent | d2427718c9e91870ceddc032bcfce51def667596 (diff) |
Makefile: Fix install target
Fix the install target to supply the correct call to ninja, and ensure
that it is marked as a phony target to prevent conflicts with any local
files or directories of the same name.
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,11 +35,11 @@ uvc-gadget: ## Build the uvc-gadget library and application uvc-gadget: | $(BUILDDIR)/build.ninja $(ninja) -C $(BUILDDIR) -.PHONY: test +.PHONY: test install test: ## Run tests install: ## Install the package on this system. (Or set DESTDIR) test install: | $(BUILDDIR)/build.ninja - $(ninja) -C $(BUILDDIR) $* + $(ninja) -C $(BUILDDIR) $@ iwyu: ## Generate include-what-you-use report iwyu_tool -p $(BUILDDIR) -j4 > iwyu.report |