Merge branch 'parisc-4.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[sfrench/cifs-2.6.git] / tools / vm / Makefile
1 # Makefile for vm tools
2 #
3 TARGETS=page-types slabinfo page_owner_sort
4
5 LIB_DIR = ../lib/api
6 LIBS = $(LIB_DIR)/libapi.a
7
8 CC = $(CROSS_COMPILE)gcc
9 CFLAGS = -Wall -Wextra -I../lib/
10 LDFLAGS = $(LIBS)
11
12 $(TARGETS): $(LIBS)
13
14 $(LIBS):
15         make -C $(LIB_DIR)
16
17 %: %.c
18         $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
19
20 clean:
21         $(RM) page-types slabinfo page_owner_sort
22         make -C $(LIB_DIR) clean