blob: 43db80b71e8082862d0d8c0e9849c54e4d6a3ef8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra
CFLAGS += -I../../../../usr/include/
LDFLAGS += -pthread
# lib.mk TEST_CUSTOM_PROGS var is for custome tests that need special
# build rules. lib.mk will run and install them.
TEST_CUSTOM_PROGS = sync_test
all: $(TEST_CUSTOM_PROGS)
include ../lib.mk
OBJS = sync_test.o sync.o
TESTS += sync_alloc.o
TESTS += sync_fence.o
TESTS += sync_merge.o
TESTS += sync_wait.o
TESTS += sync_stress_parallelism.o
TESTS += sync_stress_consumer.o
TESTS += sync_stress_merge.o
sync_test: $(OBJS) $(TESTS)
EXTRA_CLEAN := sync_test $(OBJS) $(TESTS)
|