summaryrefslogtreecommitdiff
path: root/apps/system/i2c/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-30 17:20:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-30 17:20:46 +0000
commit7b01904121be6cb88d28005a77da9c1815593925 (patch)
tree934fbe483e0599843e1be72fe93882b90cde810b /apps/system/i2c/Makefile
parentf62cc877bdb5e731e099aa45c8774c5d5892c672 (diff)
downloadnuttx-7b01904121be6cb88d28005a77da9c1815593925.tar.gz
nuttx-7b01904121be6cb88d28005a77da9c1815593925.tar.bz2
nuttx-7b01904121be6cb88d28005a77da9c1815593925.zip
Initial debug changes to the I2C tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3929 42af7a65-404d-4744-a932-0658087f49c3
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