SHARED = -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
STATIC = -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
-all: config build local
+all depend:
+ test -d build || $(MAKE) config
+ cd $@
+clean edit_cache rebuild_cache help:
+ test ! -d build || cd build && $(MAKE) $@
+install install/strip install/local list_install_components:
+ cd build && $(MAKE) $@
+libzzip libzzipmmapped libzzipfseeko libzzipwrap zzipwrap:
+ cd build && $(MAKE) $@
+zzip unzzip unzzip-mix unzzip-mem unzzip-big zzdir zzcat zzcatsdl zzxorcat zzxordir zzobfuscated:
+ cd build && $(MAKE) $@
+
+builds: config build local
static: conf build local
st: ; $(MAKE) distclean && $(MAKE) static
-it: ; $(MAKE) distclean && $(MAKE) all
+it: ; $(MAKE) distclean && $(MAKE) builds
.PHONY: build
+build:
+ cd build && $(MAKE) all
config:
test -d build || mkdir build
cd build && $(MAKE) VERBOSE=1
local:
cd build && $(MAKE) install DESTDIR=$(LOCAL)
-install:
- cd build && $(MAKE) install
-
-clean:
- cd build && $(MAKE) clean
distclean:
rm -rf build
rm -rf CMakeFiles