From 9d1fd37e7914c977a79e46b31b779db9b6033620 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 May 2008 14:28:10 +0200 Subject: Use gnu make syntax for SWIG implicit rule since it allows multiple output files. (This used to be commit ce440887316d3ae379551c136f6b640c573fd702) --- source4/build/make/python.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/build/make/python.mk b/source4/build/make/python.mk index 7d957fb108..66e5def8f0 100644 --- a/source4/build/make/python.mk +++ b/source4/build/make/python.mk @@ -43,9 +43,9 @@ endef # Swig extensions swig:: pythonmods -.SUFFIXES: _wrap.c .i +.SUFFIXES: _wrap.c .i .py -.i_wrap.c: +%_wrap.c %.py: %.i [ "$(SWIG)" == "no" ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $< realdistclean:: -- cgit