blob: 13c1d9b277e9a4dc16bc4c663f1d54bc4a332de9 [file] [log] [blame]
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -07001# Find the local dir of the make file
2GET_LOCAL_DIR = $(patsubst %/,%,$(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))))
3
4# makes sure the target dir exists
5MKDIR = if [ ! -d $(dir $@) ]; then mkdir -p $(dir $@); fi