diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 08:43:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 08:43:01 -0600 |
commit | 26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43 (patch) | |
tree | f1eaf63c160822c9e89b9211678d2893d368e3df /apps/examples/pashello/Makefile | |
parent | 0245ea571aff1a005054c608dd187dbb4cfd194f (diff) | |
download | px4-nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.tar.gz px4-nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.tar.bz2 px4-nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.zip |
Changes to many Makefiles. For kernel buil object containing main cannot go into library because of name collisions. The object file must be handled as a special case in every Makefile
Diffstat (limited to 'apps/examples/pashello/Makefile')
-rw-r--r-- | apps/examples/pashello/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile index 13ce7be97..ef9acad22 100644 --- a/apps/examples/pashello/Makefile +++ b/apps/examples/pashello/Makefile @@ -48,7 +48,8 @@ CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" \ "$(APPDIR)$(DELIM)interpreters$(DELIM)pcode$(DELIM)insn$(DELIM)include"} ASRCS = -CSRCS = pashello.c device.c +CSRCS = device.c +MAINSRC = pashello.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) |