]>
Commit | Line | Data |
---|---|---|
82208160 EL |
1 | CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra |
2 | CFLAGS += -I../../../../usr/include/ | |
3 | LDFLAGS += -pthread | |
4 | ||
5 | TEST_PROGS = sync_test | |
6 | ||
7 | all: $(TEST_PROGS) | |
8 | ||
9 | include ../lib.mk | |
10 | ||
11 | OBJS = sync_test.o sync.o | |
12 | ||
13 | TESTS += sync_alloc.o | |
6a5b7d2c | 14 | TESTS += sync_fence.o |
1c5839c6 | 15 | TESTS += sync_merge.o |
82208160 EL |
16 | |
17 | sync_test: $(OBJS) $(TESTS) | |
18 | ||
19 | clean: | |
20 | $(RM) sync_test $(OBJS) $(TESTS) |