summaryrefslogtreecommitdiff
path: root/tools/afl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/afl/Makefile')
-rw-r--r--tools/afl/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/afl/Makefile b/tools/afl/Makefile
new file mode 100644
index 0000000..4f684aa
--- /dev/null
+++ b/tools/afl/Makefile
@@ -0,0 +1,13 @@
+
+all: itanium
+
+itanium: itanium.c
+ afl-gcc -o $@ \
+ `pkg-config --libs --cflags gtk+-3.0 glib-2.0 libxml-2.0` \
+ -I../.. -I../../src \
+ -Wl,-rpath,$(PWD)/../../src/.libs -L../../src/.libs -lchrysacore \
+ -Wl,-rpath,$(PWD)/../../plugins/itanium/.libs -L../../plugins/itanium/.libs -litanium \
+ $^
+
+clean:
+ rm -f itanium *~