diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 09:16:08 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 09:16:08 -0600 |
commit | 46e70207ede819e3855c0b605c57d04c849bfd31 (patch) | |
tree | 8b34f3b1b8680dfc4a194a1ea049afa103453fa5 /apps/import/Makefile | |
parent | 78ee7731d45a25af6e56549b0be8d4a2f88acbbe (diff) | |
download | px4-nuttx-46e70207ede819e3855c0b605c57d04c849bfd31.tar.gz px4-nuttx-46e70207ede819e3855c0b605c57d04c849bfd31.tar.bz2 px4-nuttx-46e70207ede819e3855c0b605c57d04c849bfd31.zip |
Flesh out apps/import/Make.defs a little
Diffstat (limited to 'apps/import/Makefile')
-rw-r--r-- | apps/import/Makefile | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/apps/import/Makefile b/apps/import/Makefile index a0ce283da..e247fa3ef 100644 --- a/apps/import/Makefile +++ b/apps/import/Makefile @@ -34,32 +34,13 @@ ############################################################################ -include $(TOPDIR)/.config - -Q ?= @ +-include $(TOPDIR)/Make.defs # Sub-directories from the NuttX export package SUBDIRS = arch build include libs startup tmp FILES = .config -# DELDIR - Delete one directory - -ifeq ($(CONFIG_WINDOWS_NATIVE),y) -define DELFILE - $(Q) if exist $1 (del /f /q $1) -endef -define DELDIR - $(Q) if exist $(1) (rmdir /q /s $(1)) -endef -else -define DELFILE - $(Q) rm -f $1 -endef -define DELDIR - $(Q) rm -rf $(1) -endef -endif - all: nothing .PHONY: nothing context depend clean distclean @@ -75,3 +56,6 @@ distclean: $(foreach SDIR, $(SUBDIRS), $(call DELDIR, $(SDIR))) $(foreach FILE, $(FILES), $(call DELFILE, $(FILE))) +# Library path + +LIBPATH = $(TOPDIR)/libs |