aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debugger/gdbsx/gx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/debugger/gdbsx/gx/Makefile')
-rw-r--r--tools/debugger/gdbsx/gx/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/debugger/gdbsx/gx/Makefile b/tools/debugger/gdbsx/gx/Makefile
new file mode 100644
index 0000000000..c9a48c0ccf
--- /dev/null
+++ b/tools/debugger/gdbsx/gx/Makefile
@@ -0,0 +1,20 @@
+XEN_ROOT = ../../../..
+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
+
+
+#%.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
+