aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2009-07-17 09:53:34 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-07-17 09:53:34 -0400
commitd78f5f2d3d250b695587d88a001da073d2e94ca9 (patch)
tree74b206f0b3ed2c51f1472a140d468f95f9ba1c54 /Makefile
Initial addition of trace-cmd files.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..538406c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
1CC = gcc
2CFLAGS = -g -Wall # -O2
3INCLUDES = -I. -I/usr/local/include
4
5%.o: %.c
6 $(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@
7
8TARGETS = trace-cmd
9
10all: $(TARGETS)
11
12parse-events.o:: parse-events.h
13trace-read.o:: parse-events.h
14trace-cmd.o:: parse-events.h
15
16trace-cmd: trace-cmd.o trace-read.o parse-events.o
17 $(CC) $^ -o $@
18
19clean:
20 $(RM) *.o *~ $(TARGETS)