From 0da537768a85ab863bd1a46425db167d6333e51c Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 3 Oct 2011 21:10:11 +0000 Subject: Verify C++ support with CodeSourcery git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4016 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/helloxx/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) mode change 100755 => 100644 apps/examples/helloxx/Makefile (limited to 'apps/examples/helloxx/Makefile') diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile old mode 100755 new mode 100644 index eeeae9ef0..5bc17014b --- a/apps/examples/helloxx/Makefile +++ b/apps/examples/helloxx/Makefile @@ -58,6 +58,12 @@ endif ROOTDEPPATH = --dep-path . +# helloxx built-in application info + +APPNAME = helloxx +PRIORITY = SCHED_PRIORITY_DEFAULT +STACKSIZE = 2048 + # Common build VPATH = @@ -92,7 +98,13 @@ $(CXXOBJS): %$(OBJEXT): %.cxx done ; ) @touch .built -context: +.context: +ifeq ($(CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN),y) + $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) + @touch $@ +endif + +context: .context .depend: Makefile $(SRCS) @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep -- cgit v1.2.3