1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for vm tools
4 include ..
/scripts
/Makefile.
include
6 TARGETS
=page-types slabinfo page_owner_sort
9 LIBS
= $(LIB_DIR
)/libapi.a
11 CFLAGS
= -Wall
-Wextra
-I..
/lib
/
22 $(CC
) $(CFLAGS
) -o
$@
$< $(LDFLAGS
)
25 $(RM
) page-types slabinfo page_owner_sort
26 make
-C
$(LIB_DIR
) clean
31 install -d
$(DESTDIR
)$(sbindir
)
32 install -m
755 -p
$(TARGETS
) $(DESTDIR
)$(sbindir
)