summaryrefslogtreecommitdiffstats
path: root/tools/testing/vma/Makefile
blob: 860fd2311dcca3b75aca3a3721f8bf4b816e40f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# SPDX-License-Identifier: GPL-2.0-or-later

.PHONY: default clean

default: vma

include ../shared/shared.mk

OFILES = $(SHARED_OFILES) vma.o maple-shim.o
TARGETS = vma

vma.o: vma.c vma_internal.h ../../../mm/vma.c ../../../mm/vma.h

vma:	$(OFILES)
	$(CC) $(CFLAGS) -o $@ $(OFILES) $(LDLIBS)

clean:
	$(RM) $(TARGETS) *.o radix-tree.c idr.c generated/map-shift.h generated/bit-length.h generated/autoconf.h