| 1 | |
| 2 | |
| 3 | CC=gcc |
| 4 | |
| 5 | all: sample-thread sample sample-highspeed sample-printf |
| 6 | |
| 7 | sample-thread: sample-thread.c ltt-facility-loader-user_generic.c |
| 8 | $(CC) $(CFLAGS) -I. -lpthread -o $@ $^ |
| 9 | |
| 10 | sample: sample.c ltt-facility-loader-user_generic.c |
| 11 | $(CC) $(CFLAGS) -I. -o $@ $^ |
| 12 | |
| 13 | sample-highspeed: sample-highspeed.c ltt-facility-loader-user_generic.c |
| 14 | $(CC) $(CFLAGS) -I. -o $@ $^ |
| 15 | |
| 16 | sample-printf: sample-printf.c ltt-facility-loader-user_generic.c |
| 17 | $(CC) $(CFLAGS) -I. -o $@ $^ |
| 18 | |
| 19 | .PHONY : clean |
| 20 | |
| 21 | clean: |
| 22 | rm -fr *.o *~ sample-thread sample sample-highspeed sample-printf |
| 23 | |