move the stray .mk files from the root dir into a make/ subdir

This commit is contained in:
Travis Geiselbrecht
2009-01-24 20:15:32 -08:00
parent 39dededa26
commit 5bcbd9d68e
4 changed files with 4 additions and 4 deletions

5
make/macros.mk Normal file
View File

@@ -0,0 +1,5 @@
# Find the local dir of the make file
GET_LOCAL_DIR = $(patsubst %/,%,$(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))))
# makes sure the target dir exists
MKDIR = if [ ! -d $(dir $@) ]; then mkdir -p $(dir $@); fi