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