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/serialrx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/examples/serialrx') diff --git a/apps/examples/serialrx/Makefile b/apps/examples/serialrx/Makefile index 24d17db66..4e97e49a0 100644 --- a/apps/examples/serialrx/Makefile +++ b/apps/examples/serialrx/Makefile @@ -40,7 +40,8 @@ include $(APPDIR)/Make.defs # For testing: Blast canned characters at a designated serial port ASRCS = -CSRCS = serialrx_main.c +CSRCS = +MAINSRC = serialrx_main.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) -- cgit v1.2.3