aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e8a953f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+# $Id$
+#
+# Makefile for the trace utility.
+#
+# M. Tim Jones <mtj@mtjones.com>
+#
+
+CC = gcc
+
+OBJS = trace.o symbols.o stack.o
+
+pvtrace: $(OBJS)
+ gcc -o $@ $(OBJS)
+
+.c.o:
+ $(CC) $(CFLAGS) -Wall -c $<
+
+install: pvtrace
+ cp pvtrace /usr/local/bin
+
+clean:
+ rm -f pvtrace *.o