xref: /linux/tools/testing/vma/Makefile (revision 4e52a60a)
1# SPDX-License-Identifier: GPL-2.0-or-later
2
3.PHONY: default clean
4
5default: vma
6
7include ../shared/shared.mk
8
9OFILES = $(SHARED_OFILES) vma.o maple-shim.o
10TARGETS = vma
11
12vma.o: vma.c vma_internal.h ../../../mm/vma.c ../../../mm/vma.h
13
14vma:	$(OFILES)
15	$(CC) $(CFLAGS) -o $@ $(OFILES) $(LDLIBS)
16
17clean:
18	$(RM) $(TARGETS) *.o radix-tree.c idr.c generated/map-shift.h generated/bit-length.h generated/autoconf.h
19