Major change to the way libraries are linked:
[newos.git] / macros.mk
blob4ce346138901bba4a92a31e55eaa6fd35b6d7d6e
2 # prepends the BUILD_DIR var to each item in the list
3 TOBUILDDIR = $(addprefix $(BUILD_DIR)/,$(1))
5 # sees if the target is in the list
6 FINDINLIST = $(if $(findstring $(1),$(2)),1,0)
8 # used in template files to build a directory in the build rules
9 MKDIR = if [ ! -d $(dir $@) ]; then mkdir -p $(dir $@); fi