instrument X using gcc's -finstrument-functions
used to debug locking
This commit is contained in:
@@ -10,6 +10,9 @@ gui.a: $(OBJS)
|
||||
test: test.o gui.a
|
||||
$(CC) -o test $(OBJS) test.o -lX11 -pthread -lm
|
||||
|
||||
x.o:x.c
|
||||
$(CC) $(CFLAGS) -o $@ -c $< -finstrument-functions
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -o $@ -c $<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user