Commit | Line | Data |
---|---|---|
3d57eb5b | 1 | |
2 | ||
3 | CC=gcc | |
4 | ||
5 | all: sample-thread sample | |
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 | .PHONY : clean | |
14 | ||
15 | clean: | |
16 | rm -fr *.o *~ sample-thread sample | |
17 |