mirror of
https://github.com/lexborisov/Modest
synced 2024-11-25 15:19:44 +03:00
13 lines
498 B
Makefile
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_%,%,$@)/
|