Clean up MakeFiles
This commit is contained in:
2
mkfile/common/ExportPath.mk
Normal file
2
mkfile/common/ExportPath.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
#Add the JabyEngine tools to path
|
||||
export PATH := $(JABY_ENGINE_DIR)/bin/:$(PATH)
|
3
mkfile/common/RebuildTarget.mk
Normal file
3
mkfile/common/RebuildTarget.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
rebuild:
|
||||
$(MAKE) clean
|
||||
$(MAKE) all
|
2
mkfile/common/Wildcard.mk
Normal file
2
mkfile/common/Wildcard.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
#Macro to expand files recursively: parameters $1 - directory, $2 - extension, i.e. cpp
|
||||
rwildcard = $(wildcard $(addprefix $1/*.,$2)) $(foreach d,$(wildcard $1/*),$(call rwildcard,$d,$2))
|
Reference in New Issue
Block a user