Files
xen/tools/debugger/gdbsx/gx/Makefile
T
Keir Fraser 547cb1849c build: Make XEN_ROOT an absolute path.
Otherwise make can search the path relative to certain standard paths
such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in
Config.mk suffers from this).

Signed-off-by: Keir Fraser <keir@xen.org>
2011-03-17 10:36:25 +00:00

21 lines
372 B
Makefile

XEN_ROOT = $(CURDIR)/../../../..
include ../Rules.mk
GX_OBJS := gx_comm.o gx_main.o gx_utils.o gx_local.o
GX_HDRS := $(wildcard *.h)
.PHONY: all
all: gx_all.a
.PHONY: clean
clean:
rm -rf gx_all.a *.o .*.d
#%.o: %.c $(GX_HDRS) Makefile
# $(CC) -c $(CFLAGS) -o $@ $<
gx_all.a: $(GX_OBJS) Makefile $(GX_HDRS)
ar cr $@ $(GX_OBJS) # problem with ld using -m32