summaryrefslogtreecommitdiff
path: root/apps/import/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/import/Makefile')
-rw-r--r--apps/import/Makefile24
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