mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
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>
21 lines
372 B
Makefile
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
|
|
|