1# SPDX-License-Identifier: GPL-2.0-only
2all: test
3test: vsock_test vsock_diag_test
4vsock_test: vsock_test.o timeout.o control.o util.o
5vsock_diag_test: vsock_diag_test.o timeout.o control.o util.o
6
7CFLAGS += -g -O2 -Werror -Wall -I. -I../../include -I../../../usr/include -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -D_GNU_SOURCE
8.PHONY: all test clean
9clean:
10	${RM} *.o *.d vsock_test vsock_diag_test
11-include *.d
12