Bring Makefile closer to upstream

pull/18/head
JeremyRand 5 years ago
parent 9596bbab53
commit 8b8029df41
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

@ -1,12 +1,41 @@
RBM=./rbm/rbm
rbm=./rbm/rbm
all: release
release:
$(RBM) build ncdns --target ncdns-linux-x86_64
release: submodule-update
$(rbm) build ncdns --target release --target ncdns-all
release-android-armv7: submodule-update
$(rbm) build ncdns --target release --target ncdns-android-armv7
release-android-x86: submodule-update
$(rbm) build ncdns --target release --target ncdns-android-x86
release-linux-x86_64: submodule-update
$(rbm) build ncdns --target release --target ncdns-linux-x86_64
release-linux-i686: submodule-update
$(rbm) build ncdns --target release --target ncdns-linux-i686
release-windows-i686: submodule-update
$(rbm) build ncdns --target release --target ncdns-windows-i686
release-windows-x86_64: submodule-update
$(rbm) build ncdns --target release --target ncdns-windows-x86_64
release-osx-x86_64: submodule-update
$(rbm) build ncdns --target release --target ncdns-osx-x86_64
submodule-update:
git submodule update --init
$(MAKE) -C tor-browser-build submodule-update
fetch: submodule-update
$(RBM) fetch
$(rbm) fetch
clean: submodule-update
./tools/clean-old
clean-dry-run: submodule-update
./tools/clean-old --dry-run

Loading…
Cancel
Save