switching to plugins
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
339b6145f9
commit
0f0ce2af37
5 changed files with 70 additions and 42 deletions
15
Makefile
15
Makefile
|
@ -1,10 +1,19 @@
|
|||
|
||||
GO := go
|
||||
GO ?= go
|
||||
SOURCE_FILES := \
|
||||
$(wildcard *.go) \
|
||||
$(wildcard walker/*.go) \
|
||||
$(wildcard walker/walkers/*/*.go)
|
||||
PLUGINS := \
|
||||
plugin-readFuzz.so
|
||||
|
||||
default: fuzz-walker
|
||||
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
|
||||
rm -f fuzz-walker *.so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue