summaryrefslogtreecommitdiff
path: root/apps/examples/pashello
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-07 07:19:19 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-07 07:19:19 -0600
commit0245ea571aff1a005054c608dd187dbb4cfd194f (patch)
tree34837e2e1d7526d96124f2d02113b11f30429c93 /apps/examples/pashello
parente84faa17ebb87c6a2002c99193c5214a11cdf07e (diff)
downloadnuttx-0245ea571aff1a005054c608dd187dbb4cfd194f.tar.gz
nuttx-0245ea571aff1a005054c608dd187dbb4cfd194f.tar.bz2
nuttx-0245ea571aff1a005054c608dd187dbb4cfd194f.zip
Determine the main object name from the main source name in every kernel build Makefile
Diffstat (limited to 'apps/examples/pashello')
-rw-r--r--apps/examples/pashello/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile
index 6f5c2a3e1..13ce7be97 100644
--- a/apps/examples/pashello/Makefile
+++ b/apps/examples/pashello/Makefile
@@ -52,6 +52,7 @@ CSRCS = pashello.c device.c
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
+MAINOBJ = $(MAINSRC:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) $(MAINSRC)
OBJS = $(AOBJS) $(COBJS)