xref: /linux/tools/testing/selftests/riscv/abi/Makefile (revision 2eff01ee2881becc9daaa0d53477ec202136b1f4)
1# SPDX-License-Identifier: GPL-2.0
2
3CFLAGS += -I$(top_srcdir)/tools/include
4
5TEST_GEN_PROGS := pointer_masking
6
7include ../../lib.mk
8
9$(OUTPUT)/pointer_masking: pointer_masking.c
10	$(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
11