view Makefile @ 26:c87782d4bd46

Make robust for latest.zip being missing Handle newly added targets
author Matt Johnston <matt@ucc.asn.au>
date Sat, 14 Dec 2024 20:27:39 +0800
parents 6b857c4abe66
children 6d889f88a97d
line wrap: on
line source

FUZZ_TARGETS=fuzzer-preauth fuzzer-preauth_nomaths fuzzer-pubkey fuzzer-verify \
	fuzzer-client fuzzer-client_nomaths fuzzer-kexcurve25519 fuzzer-kexdh fuzzer-kexecdh fuzzer-postauth_nomaths

CORPUSES = $(addsuffix _seed_corpus.zip, $(FUZZ_TARGETS))

all: $(CORPUSES)

%_seed_corpus.zip: %/* Makefile
	-rm $@
	cd $*; zip ../$@ *

list-fuzz-targets:
	@echo $(FUZZ_TARGETS)