xref: /linux/tools/testing/selftests/riscv/mm/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
14d0c04eaSCharlie Jenkins# SPDX-License-Identifier: GPL-2.0
24d0c04eaSCharlie Jenkins# Copyright (C) 2021 ARM Limited
34d0c04eaSCharlie Jenkins# Originally tools/testing/arm64/abi/Makefile
44d0c04eaSCharlie Jenkins
54d0c04eaSCharlie Jenkins# Additional include paths needed by kselftest.h and local headers
6*cc937dadSEdward LiawCFLAGS += -std=gnu99 -I.
74d0c04eaSCharlie Jenkins
8b06fab00SAlexandre GhitiTEST_GEN_FILES := mmap_default mmap_bottomup
94d0c04eaSCharlie Jenkins
10b06fab00SAlexandre GhitiTEST_PROGS := run_mmap.sh
114d0c04eaSCharlie Jenkins
124d0c04eaSCharlie Jenkinsinclude ../../lib.mk
134d0c04eaSCharlie Jenkins
14b06fab00SAlexandre Ghiti$(OUTPUT)/mm: mmap_default.c mmap_bottomup.c mmap_tests.h
154d0c04eaSCharlie Jenkins	$(CC) -o$@ $(CFLAGS) $(LDFLAGS) $^
16