Commit | Line | Data |
---|---|---|
3d57eb5b | 1 | |
2 | ||
3 | CC=gcc | |
4 | ||
972a52cf | 5 | all: sample-thread sample sample-highspeed |
3d57eb5b | 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 $@ $^ | |
972a52cf | 12 | |
13 | sample-highspeed: sample-highspeed.c ltt-facility-loader-user_generic.c | |
14 | $(CC) $(CFLAGS) -I. -o $@ $^ | |
3d57eb5b | 15 | |
16 | .PHONY : clean | |
17 | ||
18 | clean: | |
19 | rm -fr *.o *~ sample-thread sample | |
20 |