ia64/xen-unstable

view tools/misc/Makefile @ 912:bf3796476cf7

bitkeeper revision 1.578 (3fae3756SF5aAJmGkJg6zgxL7vvXCw)

Makefile:
No longer build xen_log by default.
author kaf24@scramble.cl.cam.ac.uk
date Sun Nov 09 12:47:18 2003 +0000 (2003-11-09)
parents 0ea332de05e6
children de4c92f6eff8
line source
2 CC = gcc
3 CFLAGS = -Wall -O3
4 CFLAGS += -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-clone
22 chmod 755 ../../../install/bin/xen_log
23 $(MAKE) -C miniterm install
25 clean:
26 $(RM) *.o $(TARGETS)
27 $(MAKE) -C miniterm clean
29 %: %.c $(HDRS) Makefile
30 $(CC) $(CFLAGS) -o $@ $<