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
This commit is contained in:
parent
4f14d3b8c4
commit
bbded7e15f
@ -44,7 +44,8 @@ endif
|
||||
# TIFF Screenshot utility
|
||||
|
||||
ASRCS =
|
||||
CSRCS = screenshot_main.c
|
||||
CSRCS =
|
||||
MAINSRC = screenshot_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
@ -39,22 +39,22 @@ include $(APPDIR)/Make.defs
|
||||
|
||||
# NuttX TIFF Creation Tool
|
||||
|
||||
ASRCS =
|
||||
CSRCS = tiff_addstrip.c tiff_finalize.c tiff_initialize.c tiff_utils.c
|
||||
ASRCS =
|
||||
CSRCS = tiff_addstrip.c tiff_finalize.c tiff_initialize.c tiff_utils.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
||||
SRCS = $(ASRCS) $(CSRCS)
|
||||
OBJS = $(AOBJS) $(COBJS)
|
||||
SRCS = $(ASRCS) $(CSRCS)
|
||||
OBJS = $(AOBJS) $(COBJS)
|
||||
|
||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||
BIN = ..\..\libapps$(LIBEXT)
|
||||
BIN = ..\..\libapps$(LIBEXT)
|
||||
else
|
||||
ifeq ($(WINTOOL),y)
|
||||
BIN = ..\\..\\libapps$(LIBEXT)
|
||||
BIN = ..\\..\\libapps$(LIBEXT)
|
||||
else
|
||||
BIN = ../../libapps$(LIBEXT)
|
||||
BIN = ../../libapps$(LIBEXT)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -62,7 +62,7 @@ ROOTDEPPATH = --dep-path .
|
||||
|
||||
# Common build
|
||||
|
||||
VPATH =
|
||||
VPATH =
|
||||
|
||||
all: .built
|
||||
.PHONY: context clean depend distclean
|
||||
|
Loading…
Reference in New Issue
Block a user