From b6ebd3b00a6080469e40e83c1c97571fded386e2 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 18 Nov 2009 17:15:15 +0000 Subject: Optimised makefile of libxcb\src Avoid needless rebuilds. --- libxcb/src/makefile.srcs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libxcb/src/makefile.srcs (limited to 'libxcb/src/makefile.srcs') diff --git a/libxcb/src/makefile.srcs b/libxcb/src/makefile.srcs new file mode 100644 index 000000000..2d4846a89 --- /dev/null +++ b/libxcb/src/makefile.srcs @@ -0,0 +1,13 @@ +ifneq ($(NORELDBG),1) +$(error NORELDBG should have been set to 1) +endif + +XCBPROTO_XCBPYTHONDIR = ..\xcb-proto +XCBPROTO_XCBINCLUDEDIR = ..\xcb-proto\src + +%.h: $(XCBPROTO_XCBINCLUDEDIR)\%.xml + python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $< + +%.c: $(XCBPROTO_XCBINCLUDEDIR)\%.xml + python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $< + -- cgit v1.2.3