From 1b6ab008c156bdb619306c20852c838ccebc5bec Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Sep 2014 13:19:02 -0600 Subject: Add generic setup logic to every Makefile that installs a program. Each will need customization --- apps/examples/pwm/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/examples/pwm') diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile index bcc68592a..60c31ff0b 100644 --- a/apps/examples/pwm/Makefile +++ b/apps/examples/pwm/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 . # PWM built-in application info -- cgit v1.2.3