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