update
[lttv.git] / usertrace-generic / Makefile
index f3e52e1aeb85ce0cd3da6436f3253dd931b20530..e4cab2f648ebe19c25714e6a2c1dab951f62a603 100644 (file)
@@ -2,7 +2,7 @@
 CC=gcc
 INCLUDE_DIR=/usr/include
 
-all: sample-thread sample sample-highspeed sample-printf
+all: sample-thread sample sample-highspeed sample-printf sample-instrument-fct
 
 sample-thread: sample-thread.c ltt-facility-loader-user_generic.c
        $(CC) $(CFLAGS) -lpthread -o $@ $^
@@ -16,6 +16,10 @@ sample-highspeed: sample-highspeed.c ltt-facility-loader-user_generic.c
 sample-printf: sample-printf.c ltt-facility-loader-user_generic.c
        $(CC) $(CFLAGS) -o $@ $^
 
+sample-instrument-fct: sample-instrument-fct.c ltt-facility-loader-user_generic.c ltt-instrument-functions.c
+       $(CC) $(CFLAGS) -g -finstrument-functions -o $@ $^
+       
+
 .PHONY : clean install
 
 install:
@@ -23,5 +27,5 @@ install:
        cp -f ltt/*.h $(INCLUDE_DIR)/ltt
 
 clean:
-       rm -fr *.o *~ sample-thread sample sample-highspeed sample-printf
+       rm -fr *.o *~ sample-thread sample sample-highspeed sample-printf sample-instrument-fct
 
This page took 0.023091 seconds and 4 git commands to generate.