diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:19:19 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:19:19 -0600 |
commit | 0245ea571aff1a005054c608dd187dbb4cfd194f (patch) | |
tree | 34837e2e1d7526d96124f2d02113b11f30429c93 /apps/examples/nxhello/Makefile | |
parent | e84faa17ebb87c6a2002c99193c5214a11cdf07e (diff) | |
download | px4-nuttx-0245ea571aff1a005054c608dd187dbb4cfd194f.tar.gz px4-nuttx-0245ea571aff1a005054c608dd187dbb4cfd194f.tar.bz2 px4-nuttx-0245ea571aff1a005054c608dd187dbb4cfd194f.zip |
Determine the main object name from the main source name in every kernel build Makefile
Diffstat (limited to 'apps/examples/nxhello/Makefile')
-rw-r--r-- | apps/examples/nxhello/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/examples/nxhello/Makefile b/apps/examples/nxhello/Makefile index fd2a6e2f0..eda438921 100644 --- a/apps/examples/nxhello/Makefile +++ b/apps/examples/nxhello/Makefile @@ -44,6 +44,7 @@ CSRCS = nxhello_main.c nxhello_bkgd.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) +MAINOBJ = $(MAINSRC:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) |