Travis Geiselbrecht | 1d0df69 | 2008-09-01 02:26:09 -0700 | [diff] [blame] | 1 | # Find the local dir of the make file |
2 | GET_LOCAL_DIR = $(patsubst %/,%,$(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))) | ||||
3 | |||||
4 | # makes sure the target dir exists | ||||
5 | MKDIR = if [ ! -d $(dir $@) ]; then mkdir -p $(dir $@); fi |