1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for vm tools
4 TARGETS
=page-types slabinfo page_owner_sort
7 LIBS
= $(LIB_DIR
)/libapi.a
9 CFLAGS
= -Wall
-Wextra
-I..
/lib
/
20 $(CC
) $(CFLAGS
) -o
$@
$< $(LDFLAGS
)
23 $(RM
) page-types slabinfo page_owner_sort
24 make
-C
$(LIB_DIR
) clean
29 install -d
$(DESTDIR
)$(sbindir
)
30 install -m
755 -p
$(TARGETS
) $(DESTDIR
)$(sbindir
)