mlibc/rules.makefile
2015-11-15 19:19:53 +01:00

16 lines
202 B
Makefile

s :=
c :=
DIRECTORIES :=
define include_dir_aux
c := $1
DIRECTORIES += $1
include $(TREE_PATH)/$1/dir.makefile
$$($1_TARGETS): c := $1
c := $c
endef
include_dir = $(eval $(call include_dir_aux,$1))