ia64/xen-unstable

view tools/misc/Makefile @ 819:3c65c1356225

bitkeeper revision 1.504 (3f87bbcbtlFf9Z9aNjetFO1sTxeh1A)

Makefile:
Another manual merge.
author kaf24@scramble.cl.cam.ac.uk
date Sat Oct 11 08:14:03 2003 +0000 (2003-10-11)
parents d5e8cbd474a3
children cf07f0fdbf52
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-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 $(MAKE) -C miniterm install
24 clean:
25 $(RM) *.o $(TARGETS)
26 $(MAKE) -C miniterm clean
28 %: %.c $(HDRS) Makefile
29 $(CC) $(CFLAGS) -o $@ $<