Fix Buildtime Dependencies
This commit is contained in:
@@ -49,7 +49,7 @@ FILTER = Libraries%
|
|||||||
SOURCES := $(filter-out $(FILTER),$(SOURCES))
|
SOURCES := $(filter-out $(FILTER),$(SOURCES))
|
||||||
REALOBJECTS := $(SOURCES:.cpp=.o.$(ARCH))
|
REALOBJECTS := $(SOURCES:.cpp=.o.$(ARCH))
|
||||||
DEPENDS = $(REALOBJECTS:.o.$(ARCH)=.d.$(ARCH))
|
DEPENDS = $(REALOBJECTS:.o.$(ARCH)=.d.$(ARCH))
|
||||||
OBJECTS := RECURSIVE_PHONY
|
OBJECTS := Makefile.conf
|
||||||
OBJECTS += $(REALOBJECTS)
|
OBJECTS += $(REALOBJECTS)
|
||||||
LIBRARIES =
|
LIBRARIES =
|
||||||
LIBFILES =
|
LIBFILES =
|
||||||
@@ -57,7 +57,7 @@ TARGETS =
|
|||||||
|
|
||||||
# ---------- Recursive Targets ----------
|
# ---------- Recursive Targets ----------
|
||||||
|
|
||||||
.PHONY: RECURSIVE_PHONY
|
Makefile.conf: ;
|
||||||
|
|
||||||
$(LOCALOBJECTS): | $(SUBDIRS)
|
$(LOCALOBJECTS): | $(SUBDIRS)
|
||||||
$(OBJECTS): | $(SUBDIRS)
|
$(OBJECTS): | $(SUBDIRS)
|
||||||
@@ -82,8 +82,8 @@ define build_target_library_arch
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define add_target_library_arch
|
define add_target_library_arch
|
||||||
$(1).$(ARCH): $$(OBJECTS) $$(LIBFILES)
|
$(1).$(ARCH): $$(OBJECTS)
|
||||||
$$(call build_target_library_arch,$$@,$$(REALOBJECTS) $$(LIBFILES))
|
$$(call build_target_library_arch,$$@,$$(REALOBJECTS))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define add_library
|
define add_library
|
||||||
|
|||||||
Reference in New Issue
Block a user