xref: /linux-6.15/tools/testing/selftests/sync/Makefile (revision 38f72518)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra
2CFLAGS += -I../../../../usr/include/
3LDFLAGS += -pthread
4
5# lib.mk TEST_CUSTOM_PROGS var is for custome tests that need special
6# build rules. lib.mk will run and install them.
7TEST_CUSTOM_PROGS = sync_test
8
9all: $(TEST_CUSTOM_PROGS)
10
11include ../lib.mk
12
13OBJS = sync_test.o sync.o
14
15TESTS += sync_alloc.o
16TESTS += sync_fence.o
17TESTS += sync_merge.o
18TESTS += sync_wait.o
19TESTS += sync_stress_parallelism.o
20TESTS += sync_stress_consumer.o
21TESTS += sync_stress_merge.o
22
23sync_test: $(OBJS) $(TESTS)
24
25EXTRA_CLEAN := sync_test $(OBJS) $(TESTS)
26

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026