aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1b73a9e..f159a46 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,8 @@ LIBS = -L. -ltracecmd -ldl
9%.o: %.c 9%.o: %.c
10 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@ 10 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@
11 11
12TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so 12TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so \
13 plugin_sched_switch.so
13 14
14all: $(TARGETS) 15all: $(TARGETS)
15 16
@@ -63,6 +64,12 @@ plugin_hrtimer.o: plugin_hrtimer.c parse-events.h
63plugin_hrtimer.so: plugin_hrtimer.o 64plugin_hrtimer.so: plugin_hrtimer.o
64 $(CC) -shared -nostartfiles -o $@ $< 65 $(CC) -shared -nostartfiles -o $@ $<
65 66
67plugin_sched_switch.o: plugin_sched_switch.c parse-events.h
68 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
69
70plugin_sched_switch.so: plugin_sched_switch.o
71 $(CC) -shared -nostartfiles -o $@ $<
72
66plugin_mac80211.o: plugin_mac80211.c parse-events.h 73plugin_mac80211.o: plugin_mac80211.c parse-events.h
67 $(CC) -c $(CFLAGS) -fPIC -o $@ $< 74 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
68 75