2018-06-05 20:53:08 +00:00
|
|
|
|
2018-06-06 14:42:39 +00:00
|
|
|
GO ?= go
|
|
|
|
SOURCE_FILES := \
|
|
|
|
$(wildcard *.go) \
|
|
|
|
$(wildcard walker/*.go) \
|
|
|
|
$(wildcard walker/walkers/*/*.go)
|
|
|
|
PLUGINS := \
|
|
|
|
plugin-readFuzz.so
|
2018-06-05 20:53:08 +00:00
|
|
|
|
2018-06-06 14:42:39 +00:00
|
|
|
default: fuzz-walker $(PLUGINS)
|
2018-06-05 20:53:08 +00:00
|
|
|
|
|
|
|
fuzz-walker: $(wildcard *.go)
|
|
|
|
$(GO) build -o $@ .
|
|
|
|
|
2018-06-06 14:42:39 +00:00
|
|
|
plugin-%.so:
|
|
|
|
$(GO) build -o $@ -buildmode=plugin ./walker/walkers/$*/
|
|
|
|
|
2018-06-05 20:53:08 +00:00
|
|
|
clean:
|
2018-06-06 14:42:39 +00:00
|
|
|
rm -f fuzz-walker *.so
|