#html-stripper -i # Makefile dynnsd (BORKEN cross compiling to rpi takes effort) # SRC=$(wildcard src/*.rs) # fails in linci??? RUST_TARGET=`./set-target.sh` progs = target/dynnsd target/dynnsd-client $(progs): $(SRC) cargo build --release --target=$(RUST_TARGET) strip target/$(RUST_TARGET)/release/dynnsd install -sv target/$(RUST_TARGET)/release/dynnsd target/ install -sv target/$(RUST_TARGET)/release/dynnsd-client target/ install -sv target/$(RUST_TARGET)/release/dynnsd-hup target/ .PHONY: clean install uninstall run test deb rpi rpi: cargo build run: cargo run test: cargo test deb: sudo deploy/build-deb.sh clean: cargo clean rm -f target/ mkdir target install: sudo dpkg --install target/dynnsd-*.deb uninstall: sudo dpkg --remove target/dynnsd-*.deb