treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / tools / testing / vsock / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 all: test
3 test: vsock_diag_test
4 vsock_diag_test: vsock_diag_test.o timeout.o control.o
5
6 CFLAGS += -g -O2 -Werror -Wall -I. -I../../include/uapi -I../../include -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -D_GNU_SOURCE
7 .PHONY: all test clean
8 clean:
9         ${RM} *.o *.d vsock_diag_test
10 -include *.d