summaryrefslogtreecommitdiff
path: root/apps/system/i2c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/i2c/Makefile')
-rw-r--r--apps/system/i2c/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile
index 9f15f0ce8..2755c9322 100644
--- a/apps/system/i2c/Makefile
+++ b/apps/system/i2c/Makefile
@@ -65,7 +65,7 @@ STACKSIZE = 2048
# Build targets
all: .built
-.PHONY: context .depend depend clean distclean
+.PHONY: .context context .depend depend clean distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -79,10 +79,12 @@ $(COBJS): %$(OBJEXT): %.c
done ; )
@touch .built
-context:
+.context:
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
@touch $@
+context: .context
+
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) \
$(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep