summaryrefslogtreecommitdiff
path: root/NxWidgets/UnitTests/CSliderVertical/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/UnitTests/CSliderVertical/Makefile')
-rw-r--r--NxWidgets/UnitTests/CSliderVertical/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/NxWidgets/UnitTests/CSliderVertical/Makefile b/NxWidgets/UnitTests/CSliderVertical/Makefile
index 82f9c6fc6..a0b33a3ac 100644
--- a/NxWidgets/UnitTests/CSliderVertical/Makefile
+++ b/NxWidgets/UnitTests/CSliderVertical/Makefile
@@ -1,7 +1,7 @@
#################################################################################
# NxWidgets/UnitTests/CSliderVertical/Makefile
#
-# Copyright (C) 2012 Gregory Nutt. All rights reserved.
+# Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -142,15 +142,18 @@ else
endif
$(Q) touch .built
-# Standard housekeeping targets
+# Register NSH built-in application
-.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
+$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
+
+context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
+else
+context:
endif
- $(Q) touch $@
-context: .context
+# Standard housekeeping targets
.depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@@ -159,6 +162,7 @@ context: .context
depend: .depend
clean:
+ $(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built)
$(call CLEAN)