thermal: fix Mediatek thermal controller build
[linux/fpc-iii.git] / tools / vm / Makefile
blob93aadaf7ff63d66afab325a67bd09fba982de947
1 # Makefile for vm tools
3 TARGETS=page-types slabinfo page_owner_sort
5 LIB_DIR = ../lib/api
6 LIBS = $(LIB_DIR)/libapi.a
8 CC = $(CROSS_COMPILE)gcc
9 CFLAGS = -Wall -Wextra -I../lib/
10 LDFLAGS = $(LIBS)
12 $(TARGETS): $(LIBS)
14 $(LIBS):
15 make -C $(LIB_DIR)
17 %: %.c
18 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
20 clean:
21 $(RM) page-types slabinfo page_owner_sort
22 make -C $(LIB_DIR) clean