Make sure target-dependent SOURCES are reflected in OBJECTS
This commit is contained in:
parent
99de9424db
commit
cdc1a5ac32
2
rules.mk
2
rules.mk
|
@ -51,7 +51,7 @@ endif
|
|||
|
||||
# Configuration variables
|
||||
OBJDIR:= $(OBJROOT)$(DIR)
|
||||
OBJECTS:= $(SOURCES:%=$(OBJDIR)/%$(OBJ_EXT))
|
||||
OBJECTS= $(SOURCES:%=$(OBJDIR)/%$(OBJ_EXT))
|
||||
PRODUCTS_EXE:= $(patsubst %.exe,%$(EXE_EXT),$(filter %.exe,$(PRODUCTS)))
|
||||
PRODUCTS_LIB:= $(patsubst %.lib,%$(LIB_EXT),$(filter %.lib,$(PRODUCTS)))
|
||||
PRODUCTS_DLL:= $(patsubst %.dll,%$(DLL_EXT),$(filter %.dll,$(PRODUCTS)))
|
||||
|
|
Loading…
Reference in New Issue