HOME


Mini Shell 1.0
DIR:/usr/src/kernels/3.10.0-1160.119.1.el7.tuxcare.els10.x86_64/tools/vm/
Upload File :
Current File : //usr/src/kernels/3.10.0-1160.119.1.el7.tuxcare.els10.x86_64/tools/vm/Makefile
# Makefile for vm tools
#
TARGETS=page-types slabinfo page_owner_sort

LIB_DIR = ../lib/api
LIBS = $(LIB_DIR)/libapi.a

CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -Wextra -I../lib/
LDFLAGS = $(LIBS)

$(TARGETS): $(LIBS)

$(LIBS):
	make -C $(LIB_DIR)

%: %.c
	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)

clean:
	$(RM) page-types slabinfo page_owner_sort
	make -C $(LIB_DIR) clean