X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=cbb636405f4e99a5b54c1f4ea506664368236b4e;hb=ba87284397e058fc477a04fba2ff2eb815a33de0;hp=e697fc45ef61d1419802852580fc4181a4bab6a4;hpb=997f94cf8657201ea9d1f2497e4ec4f56342e22f;p=chaz%2Fopenbox diff --git a/src/Makefile.am b/src/Makefile.am index e697fc45..cbb63640 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -35,7 +35,9 @@ distclean-local: openbox.i: openbox.hh screen.hh client.hh python.hh frame.hh touch $@ -openbox_wrap.cc: openbox.i - swig -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< +%.py: %_wrap.cc + +%_wrap.cc: %.i + swig -c -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $< # local dependencies