summaryrefslogtreecommitdiff
path: root/misc/Makefile
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-23 19:46:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-23 19:46:30 (GMT)
commit3c5bdffd74d21f6c156730a91d3c78b59eb83b42 (patch)
treeaf5f6fd7ef987ce2668c32feecb4bca2cb96ce91 /misc/Makefile
parent27d9a07db9d3bc2027003ba218acee940ae7ed3f (diff)
Added binary diffing examples.
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
new file mode 100644
index 0000000..a087b0b
--- /dev/null
+++ b/misc/Makefile
@@ -0,0 +1,16 @@
+
+BINARIES=elf2diff1 elf2diff2 hole
+
+all: $(BINARIES)
+
+hole: hole.cpp
+ g++ -o $@ $<
+
+elf2diff1: elf2diff.c
+ arm-linux-gnueabi-gcc -o $@ -DNUMBER=1 $<
+
+elf2diff2: elf2diff.c
+ arm-linux-gnueabi-gcc -o $@ -DNUMBER=2 $<
+
+clean:
+ rm -f $(BINARIES) *~