Modest/source/mycss/Makefile.mk
2016-10-28 01:29:56 +03:00

13 lines
498 B
Makefile

find_files_h = $(wildcard $(SRCDIR)/mycss/$(dir)/*.h)
find_files_c = $(wildcard $(SRCDIR)/mycss/$(dir)/*.c)
SUBDIRS := . selectors namespace media values property declaration
HDRS += $(foreach dir,$(SUBDIRS),$(find_files_h))
SRCS += $(foreach dir,$(SUBDIRS),$(find_files_c))
mycss_clone: MyCSS_DIR_$(SUBDIRS)
MyCSS_DIR_$(SUBDIRS):
mkdir -p $(INCLUDE_TMP)/mycss/$(patsubst MyCSS_DIR_%,%,$@)
cp $(SRCDIR)/mycss/$(patsubst MyCSS_DIR_%,%,$@)/*.h $(INCLUDE_TMP)/mycss/$(patsubst MyCSS_DIR_%,%,$@)/