summaryrefslogtreecommitdiff
path: root/dwarfexample/Makefile
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-10-20 14:42:03 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-10-20 14:42:03 +0400
commitbb1c3da3c12651f1c408d96dd6d33ae157bdadd6 (patch)
tree4a535b35500684ac6a928bf0fd661325b5a04697 /dwarfexample/Makefile
downloaddwarfutils-bb1c3da3c12651f1c408d96dd6d33ae157bdadd6.tar.gz
Imported Upstream version 20120410upstream/20120410upstream
Diffstat (limited to 'dwarfexample/Makefile')
-rw-r--r--dwarfexample/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/dwarfexample/Makefile b/dwarfexample/Makefile
new file mode 100644
index 0000000..0fb18d2
--- /dev/null
+++ b/dwarfexample/Makefile
@@ -0,0 +1,18 @@
+
+
+LIBDIR= -L../libdwarf
+LIBS= -ldwarf -lelf
+CFLAGS= -Wall -I../libdwarf
+
+all: simplereader frame1
+
+simplereader: simplereader.c
+ $(CC) $(CFLAGS) simplereader.c -o simplereader $(LIBDIR) $(LIBS)
+frame1: frame1.c
+ $(CC) $(CFLAGS) frame1.c -o frame1 $(LIBDIR) $(LIBS)
+
+clean:
+ rm -f simplereader.o
+ rm -f simplereader
+ rm -f frame1
+ rm -f frame1.o