summaryrefslogtreecommitdiff
path: root/apps/graphics
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/graphics
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/graphics')
-rw-r--r--apps/graphics/screenshot/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/graphics/screenshot/Makefile b/apps/graphics/screenshot/Makefile
index 121073465..0d1e2128d 100644
--- a/apps/graphics/screenshot/Makefile
+++ b/apps/graphics/screenshot/Makefile
@@ -48,6 +48,7 @@ CSRCS = screenshot_main.c
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
+MAINOBJ = $(MAINSRC:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) $(MAINSRC)
OBJS = $(AOBJS) $(COBJS)