mirror of
https://github.com/pgrondek/config.git
synced 2024-11-25 21:25:39 +00:00
Separate makefile to client/sever stuff
This commit is contained in:
parent
2d94e47083
commit
5879ed65e3
24
Makefile
24
Makefile
@ -1,11 +1,21 @@
|
|||||||
SUB_DIRS=bash i3 packages ssh vim docker
|
SERVER_PARTS=bash ssh vim docker
|
||||||
|
CLIENT_PARTS=i3 packages
|
||||||
|
|
||||||
.PHONY: clean_install
|
.PHONY: clean_install
|
||||||
|
|
||||||
install:
|
install: install_server install_client
|
||||||
@$(foreach dir,$(SUB_DIRS), $(MAKE) install -C $(dir);)
|
clean: clean_server clean_client
|
||||||
|
|
||||||
clean:
|
|
||||||
@$(foreach dir,$(SUB_DIRS), $(MAKE) clean -C $(dir);)
|
|
||||||
|
|
||||||
clean_install: clean install
|
clean_install: clean install
|
||||||
|
|
||||||
|
install_server:
|
||||||
|
@$(foreach dir,$(SERVER_PARTS), $(MAKE) install -C $(dir);)
|
||||||
|
|
||||||
|
install_client:
|
||||||
|
@$(foreach dir,$(CLIENT_PARTS), $(MAKE) install -C $(dir);)
|
||||||
|
|
||||||
|
clean_server:
|
||||||
|
@$(foreach dir,$(SERVER_PARTS), $(MAKE) clean -C $(dir);)
|
||||||
|
|
||||||
|
clean_client:
|
||||||
|
@$(foreach dir,$(CLIENT_PARTS), $(MAKE) clean -C $(dir);)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user