adjust makefile to src folder
This commit is contained in:
parent
d221678399
commit
14474189c4
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -48,8 +48,8 @@ EXECUTABLE=$(LINK_NAME)$(LIBEXT)
|
|||
|
||||
# Collect files to be compiled
|
||||
|
||||
CXX_SRCS=$(foreach ext, $(CXX_SRC_EXTS), $(shell find . -name "*.$(ext)"))
|
||||
C_SRCS=$(foreach ext, $(C_SRC_EXTS), $(shell find . -name "*.$(ext)"))
|
||||
CXX_SRCS=$(foreach ext, $(CXX_SRC_EXTS), $(shell find src -name "*.$(ext)"))
|
||||
C_SRCS=$(foreach ext, $(C_SRC_EXTS), $(shell find src -name "*.$(ext)"))
|
||||
SRCS=$(CXX_SRCS) $(C_SRCS)
|
||||
OBJS=$(foreach ext, $(SRC_EXTS), $(patsubst %.$(ext), $(BUILDDIR)/%$(LIBEXT).o, $(filter %.$(ext), $(SRCS))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue