debuggers.hg

view tools/misc/nsplitd/Makefile @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents b454a09cddb1
children
line source
1 XEN_ROOT := ../../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 CFILES = $(wildcard *.c)
6 HDRS = $(wildcard *.h)
7 OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
9 TARGET = nsplitd
11 .PHONY: all
12 all: $(TARGET)
14 .PHONY: install
15 install: all
17 .PHONY: clean
18 clean:
19 $(RM) *.o $(TARGET) *~
21 $(TARGET): $(OBJS)
22 $(HOSTCC) $(HOSTCFLAGS) -o $@ $^
24 %.o: %.c $(HDRS) Makefile
25 $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<