From 26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 7 Sep 2014 08:43:01 -0600 Subject: 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 --- apps/examples/pashello/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/examples/pashello/Makefile') 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)) -- cgit v1.2.3