diff options
Diffstat (limited to 'apps/hello/Makefile')
-rw-r--r-- | apps/hello/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/hello/Makefile b/apps/hello/Makefile index f4267cd4d..b1e13fc71 100644 --- a/apps/hello/Makefile +++ b/apps/hello/Makefile @@ -38,6 +38,7 @@ # sourcing the Make.defs! -include $(TOPDIR)/Make.defs +include ../Make.defs ifeq ($(WINTOOL),y) INCDIROPT = -w @@ -86,9 +87,8 @@ $(BIN): $(OBJS) .depend: Makefile $(SRCS) @$(MKDEP) $(ROOTDEPPATH) \ $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep + $(call REGISTER, $(APPNAME), $(PRIORITY), $(STACKSIZE), $(APPNAME)_main) @touch $@ - echo "{ .name = \""$(APPNAME)"\", .priority = "$(PRIORITY)", .stacksize = "$(STACKSIZE)", .main = "$(APPNAME)"_main }," >> ../exec_nuttapp_list.h - echo "EXTERN int "$(APPNAME)"_main(int argc, char *argv[]);" >> ../exec_nuttapp_proto.h # Register application depend: .depend |