ia64/xen-unstable

view tools/misc/Makefile @ 932:f1177a48a360

bitkeeper revision 1.592 (3fb0ac15PpvexPwsNAKwcJ7oNjLC-A)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
author kaf24@scramble.cl.cam.ac.uk
date Tue Nov 11 09:29:57 2003 +0000 (2003-11-11)
parents 95c8edd31ea0 48a22092d446
children b5c1b4c684f2
line source
2 CC = gcc
3 CFLAGS = -Wall -O3
4 EXTRA_INC = -I../../xen/include -I../../xenolinux-sparse/include -I../internal
6 HDRS = $(wildcard *.h)
7 SRCS = $(wildcard *.c)
8 OBJS = $(patsubst %.c,%.o,$(SRCS))
10 TARGETS = xen_read_console xen_cpuperf xen_refresh_dev
12 INSTALL = $(TARGETS) xen-mkdevnodes xen_nat_enable xen-clone
14 all: $(TARGETS)
15 $(MAKE) -C miniterm
17 install: all
18 mkdir -p ../../../install/bin
19 cp -a $(INSTALL) ../../../install/bin
20 chmod 755 ../../../install/bin/xen-mkdevnodes
21 chmod 755 ../../../install/bin/xen_nat_enable
22 chmod 755 ../../../install/bin/xen-clone
23 $(MAKE) -C miniterm install
25 clean:
26 $(RM) *.o $(TARGETS)
27 $(MAKE) -C miniterm clean
29 %: %.c $(HDRS) Makefile
30 $(CC) $(CFLAGS) $(EXTRA_INC) -o $@ $<