1XEN_ROOT = $(CURDIR)/../../../..
2include ../Rules.mk
3
4GX_OBJS := gx_comm.o gx_main.o gx_utils.o gx_local.o
5GX_HDRS := $(wildcard *.h)
6
7.PHONY: all
8all: gx_all.a
9
10.PHONY: clean
11clean:
12	rm -rf gx_all.a *.o .*.d
13
14.PHONY: distclean
15distclean: clean
16
17#%.o: %.c $(GX_HDRS) Makefile
18#	$(CC) -c $(CFLAGS) -o $@ $<
19
20gx_all.a: $(GX_OBJS) Makefile $(GX_HDRS)
21	ar cr $@ $(GX_OBJS)        # problem with ld using -m32
22
23