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