summaryrefslogtreecommitdiff
path: root/apps/modbus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/modbus/Makefile')
-rw-r--r--apps/modbus/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/modbus/Makefile b/apps/modbus/Makefile
index 321bf09b5..2b807dc48 100644
--- a/apps/modbus/Makefile
+++ b/apps/modbus/Makefile
@@ -66,10 +66,14 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+ BIN = ..\libapps$(LIBEXT)
+else
ifeq ($(WINTOOL),y)
- BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+ BIN = ..\\libapps$(LIBEXT)
else
- BIN = "$(APPDIR)/libapps$(LIBEXT)"
+ BIN = ../libapps$(LIBEXT)
+endif
endif
# Build targets