diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 13:59:20 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 13:59:20 -0600 |
commit | 294d526ed22c1aafa8b419f51632f31a673657aa (patch) | |
tree | fa22364c86bce9c8bc3c2e592d1d34ebed294fbe /apps/import | |
parent | 59c6dda4d3d206130ca23542e2b812724196986c (diff) | |
download | nuttx-294d526ed22c1aafa8b419f51632f31a673657aa.tar.gz nuttx-294d526ed22c1aafa8b419f51632f31a673657aa.tar.bz2 nuttx-294d526ed22c1aafa8b419f51632f31a673657aa.zip |
Provide library names and paths in apps/import/Make.defs
Diffstat (limited to 'apps/import')
-rw-r--r-- | apps/import/Make.defs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/import/Make.defs b/apps/import/Make.defs index 702dd1480..efa6820fd 100644 --- a/apps/import/Make.defs +++ b/apps/import/Make.defs @@ -149,6 +149,7 @@ endef endif # Tool related definitions +# Compiler ifeq ($(WINTOOL),y) # Windows-native toolchains @@ -166,5 +167,19 @@ CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS) CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe CXXPICFLAGS = $(ARCHPICFLAGS) $(CXXFLAGS) +# C Pre-processor + CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) AFLAGS = $(CFLAGS) -D__ASSEMBLY__ + +# Linker + +ifeq ($(WINTOOL),y) + # Windows-native toolchains + LDLIBPATH = -L "${shell cygpath -w ${APPDIR}}" -L "${shell cygpath -w $(TOPDIR)$(DELIM)libs}" +else + # Linux/Cygwin-native toolchain + LDLIBPATH = -L ${APPDIR} -L $(TOPDIR)$(DELIM)libs +endif + +LDLIBS = -lnuttx |