Files
xen/tools/misc/nsplitd/Makefile
T
kaf24@firebug.cl.cam.ac.uk 326450f67e Clean up the usage of CFLAGS. This is nice for packagers, who would
like to control the base compilation flags from a central place.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
2006-03-09 21:17:45 +01:00

23 lines
357 B
Makefile

XEN_ROOT := ../../..
include $(XEN_ROOT)/tools/Rules.mk
CFILES = $(wildcard *.c)
HDRS = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
TARGET = nsplitd
all: $(TARGET)
install: all
clean:
$(RM) *.o $(TARGET) *~
$(TARGET): $(OBJS)
$(HOSTCC) $(HOSTCFLAGS) -o $@ $^
%.o: %.c $(HDRS) Makefile
$(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<