ia64/xen-unstable

view tools/misc/Makefile @ 913:de4c92f6eff8

bitkeeper revision 1.579 (3faf5fd1FZw0e7pT-poxPw6RXq3fWg)

Makefile:
Fix pf Makefile.
author kaf24@scramble.cl.cam.ac.uk
date Mon Nov 10 09:52:17 2003 +0000 (2003-11-10)
parents bf3796476cf7
children 264c48ba4da3 e2a517ef1be8
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 $(MAKE) -C miniterm install
24 clean:
25 $(RM) *.o $(TARGETS)
26 $(MAKE) -C miniterm clean
28 %: %.c $(HDRS) Makefile
29 $(CC) $(CFLAGS) -o $@ $<