mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 06:05:44 +01:00
move dir definitions before source definitions
This commit is contained in:
12
makefile
12
makefile
@@ -46,17 +46,17 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(ARCH),0)
|
ifneq ($(ARCH),0)
|
||||||
C_SRC := $(shell find -name '*.c')
|
DIR_BIN := bin/$(ARCH)/$(PROF)
|
||||||
C_OBJ := $(patsubst src/%,obj/$(ARCH)/$(PROF)/%,$(C_SRC:.c=.o))
|
DIR_OBJ := obj/$(ARCH)/$(PROF)
|
||||||
|
BIN := $(DIR_BIN)/$(NAME)$(EXT)
|
||||||
|
|
||||||
|
C_SRC := $(shell find src/ -name '*.c')
|
||||||
|
C_OBJ := $(patsubst src/%,$(DIR_OBJ)/%,$(C_SRC:.c=.o))
|
||||||
C_DEP := $(C_OBJ:.o=.d)
|
C_DEP := $(C_OBJ:.o=.d)
|
||||||
RS_SRC := $(shell find -name '*.rs')
|
RS_SRC := $(shell find -name '*.rs')
|
||||||
RS_LIB := $(RSOUT)/libmcaselector_lite.a
|
RS_LIB := $(RSOUT)/libmcaselector_lite.a
|
||||||
RS_DEP := $(RSOUT)/libmcaselector_lite.d
|
RS_DEP := $(RSOUT)/libmcaselector_lite.d
|
||||||
RSOUT :=
|
RSOUT :=
|
||||||
|
|
||||||
DIR_BIN := bin/$(ARCH)/$(PROF)
|
|
||||||
DIR_OBJ := obj/$(ARCH)/$(PROF)
|
|
||||||
BIN := $(DIR_BIN)/$(NAME)$(EXT)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define log_col
|
define log_col
|
||||||
|
|||||||
Reference in New Issue
Block a user