From 0245ea571aff1a005054c608dd187dbb4cfd194f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 7 Sep 2014 07:19:19 -0600 Subject: Determine the main object name from the main source name in every kernel build Makefile --- apps/examples/elf/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/examples/elf/Makefile') diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile index 2b5fc3666..cabb7e137 100644 --- a/apps/examples/elf/Makefile +++ b/apps/examples/elf/Makefile @@ -44,6 +44,7 @@ CSRCS = elf_main.c symtab.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) +MAINOBJ = $(MAINSRC:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) -- cgit v1.2.3