make a .py rule

This commit is contained in:
Dana Jansens 2003-01-29 22:44:15 +00:00
parent 6584ed2159
commit 6cf79c8fd4

View file

@ -35,6 +35,8 @@ distclean-local:
openbox.i: openbox.hh screen.hh client.hh python.hh frame.hh
touch $@
%.py: %_wrap.cc
%_wrap.cc: %.i
swig -c -I../otk $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<