diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 13:19:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 13:19:02 -0600 |
commit | 1b6ab008c156bdb619306c20852c838ccebc5bec (patch) | |
tree | 674d9cb2da030fa75f6cbacb79900f6ce459d546 /apps/examples/nximage | |
parent | ccf351b1e299b1d6387f825bbab06d8d3cc7c80a (diff) | |
download | px4-nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.tar.gz px4-nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.tar.bz2 px4-nuttx-1b6ab008c156bdb619306c20852c838ccebc5bec.zip |
Add generic setup logic to every Makefile that installs a program. Each will need customization
Diffstat (limited to 'apps/examples/nximage')
-rw-r--r-- | apps/examples/nximage/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/examples/nximage/Makefile b/apps/examples/nximage/Makefile index 19bb84856..33dff36ed 100644 --- a/apps/examples/nximage/Makefile +++ b/apps/examples/nximage/Makefile @@ -58,6 +58,15 @@ else endif endif +ifeq ($(WINTOOL),y) + INSTALL_DIR = "${shell cygpath -w $(BIN_DIR)}" +else + INSTALL_DIR = $(BIN_DIR) +endif + +CONFIG_XYZ_PROGNAME ?= xyz$(EXEEXT) +PROGNAME = $(CONFIG_XYZ_PROGNAME) + ROOTDEPPATH = --dep-path . # NXIMAGE built-in application info |