Improve build scripts

This commit is contained in:
Daniel Ruiz de Alegría
2020-09-29 21:45:00 +02:00
parent a741d340f5
commit 961e15a816
8 changed files with 68 additions and 76 deletions
+5 -3
View File
@@ -1,10 +1,12 @@
THEME_SRC=Kali/
SUBDIRS=$(foreach SUBDIR,gtk2 gtk3 xfwm4,assets-renderer/$(SUBDIR)) sass
.PHONY: build clean
.PHONY: build $(SUBDIRS) clean
build:
$(foreach SUBDIR,$(SUBDIRS),$(MAKE) -C $(THEME_SRC)$(SUBDIR) build &&) true
build: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $(THEME_SRC)$@ build
clean:
$(foreach SUBDIR,$(SUBDIRS),$(MAKE) -C $(THEME_SRC)$(SUBDIR) clean &&) true