DEPS := $(wildcard deps/*)
-.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs deps $(DEPS) pkgs_snap_classic pkgs_snap_strict mpdconf
+.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs_debian pkgs_mac pkgs_brew_install pkgs_brew_cask_install deps $(DEPS) pkgs_snap_classic pkgs_snap_strict mpdconf
home: mpdconf
@cp -Rp home/bin $(HOME)/
@mkdir -p ~/var/run/mpd
@cp home/.mpdconf $(HOME)/
-pkgs:
+pkgs_debian:
$(MAKE) pkgs_deb_install
$(MAKE) pkgs_deb_purge
$(MAKE) pkgs_snap_classic
$(MAKE) pkgs_snap_strict
+pkgs_mac:
+ $(MAKE) pkgs_brew_install
+ $(MAKE) pkgs_brew_cask_install
+
+pkgs_brew_install: list pkgs-brew-install.list
+ brew install $(shell ./list pkgs-brew-install.list)
+
+pkgs_brew_cask_install: list pkgs-brew-cask-install.list
+ brew cask install $(shell ./list pkgs-brew-cask-install.list)
+
pkgs_deb_install: list pkgs-deb-install.list
sudo apt install $(shell ./list pkgs-deb-install.list)