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/modbus/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/examples/modbus') diff --git a/apps/examples/modbus/Makefile b/apps/examples/modbus/Makefile index 6b48e343a..0ab84590c 100644 --- a/apps/examples/modbus/Makefile +++ b/apps/examples/modbus/Makefile @@ -50,6 +50,7 @@ CSRCS = modbus_main.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) +MAINOBJ = $(MAINSRC:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) -- cgit v1.2.3