DEPTH = .. include $(DEPTH)/Makefile.os include $(DEPTH)/Makefile.install.directories .PHONY: all all : ifeq ($(OS), Linux) .PHONY: zips zips : for d in translations rules ai; do \ zip -qr $${d}.zip $$d; \ done endif ifeq ($(SHELLTYPE), sh) .PHONY: release release : for d in translations rules ai; do \ tar -c --exclude=.svn $$d \ | tar -xC $(RELEASE_TMP)/FreeDoko_$(VERSION)/; \ done $(MAKE) -C ../src logo.png $(MAKE) -C ../src icon.png cp ../src/logo.png ../src/icon.png $(RELEASE_TMP)/FreeDoko_$(VERSION)/ make -C cardsets release make -C backgrounds release endif ifeq ($(SHELLTYPE), sh) .PHONY: clean clean : make -C setup clean; endif