blob: b0329d3e66c1f913deb37675fc2cd55fa18fc958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -fexceptions -Wall -Werror -Wshadow -Wunused
all: staprun stap_merge
staprun: staprun.c mainloop.c relay.c ctl.c symbols.c ../transport/transport_msgs.h staprun.h
gcc -O3 $(CFLAGS) -o staprun staprun.c mainloop.c symbols.c ctl.c relay.c relay_old.c -lpthread
stap_merge: stap_merge.c
gcc -O3 $(CFLAGS) -o stap_merge stap_merge.c
debug: staprun.c mainloop.c relay.c ctl.c symbols.c ../transport/transport_msgs.h staprun.h
gcc -g -D DEBUG $(CFLAGS) -o staprun staprun.c mainloop.c symbols.c ctl.c relay.c relay_old.c -lpthread
clean:
/bin/rm -f staprun stap_merge *.o *~
|