19 lines
386 B
Makefile
19 lines
386 B
Makefile
|
|
GO ?= go
|
|
SOURCE_FILES := \
|
|
$(wildcard *.go) \
|
|
$(wildcard walker/*.go) \
|
|
$(wildcard walker/walkers/*/*.go)
|
|
PLUGINS := \
|
|
$(patsubst walker/walkers/%,plugin-%.so,$(wildcard walker/walkers/*))
|
|
|
|
default: fuzz-walker $(PLUGINS)
|
|
|
|
fuzz-walker: $(wildcard *.go)
|
|
$(GO) build -o $@ .
|
|
|
|
plugin-%.so:
|
|
$(GO) build -o $@ -buildmode=plugin ./walker/walkers/$*/
|
|
|
|
clean:
|
|
rm -f fuzz-walker *.so *~
|