Linux 3.11-rc3
[cris-mirror.git] / tools / vm / Makefile
blob24e9ddd93fa45e664b432cf49d43dde672d5e251
1 # Makefile for vm tools
3 TARGETS=page-types slabinfo
5 LK_DIR = ../lib/lk
6 LIBLK = $(LK_DIR)/liblk.a
8 CC = $(CROSS_COMPILE)gcc
9 CFLAGS = -Wall -Wextra -I../lib/
10 LDFLAGS = $(LIBLK)
12 $(TARGETS): liblk
14 liblk:
15 make -C $(LK_DIR)
17 %: %.c
18 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
20 clean:
21 $(RM) page-types slabinfo
22 make -C ../lib/lk clean