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/flash_test/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/examples/flash_test/Makefile') diff --git a/apps/examples/flash_test/Makefile b/apps/examples/flash_test/Makefile index 305de38e9..d6889d854 100644 --- a/apps/examples/flash_test/Makefile +++ b/apps/examples/flash_test/Makefile @@ -49,7 +49,8 @@ PRIORITY = SCHED_PRIORITY_DEFAULT STACKSIZE = 2048 ASRCS = -CSRCS = flash_test.c +CSRCS = +MAINSRC = flash_test.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) -- cgit v1.2.3