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/poll | |
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/poll')
-rw-r--r-- | apps/examples/poll/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/examples/poll/Makefile b/apps/examples/poll/Makefile index e4ab42b60..de263d515 100644 --- a/apps/examples/poll/Makefile +++ b/apps/examples/poll/Makefile @@ -44,6 +44,7 @@ CSRCS = poll_main.c poll_listener.c select_listener.c net_listener.c net_reader AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) +MAINOBJ = $(MAINSRC:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) |