summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index beb05a69..222b770c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,8 +17,7 @@ openbox3_LDADD=-L../otk -lotk @LIBINTL@
openbox3_SOURCES= actions.cc client.cc frame.cc openbox.cc screen.cc \
main.cc rootwindow.cc backgroundwidget.cc labelwidget.cc \
- buttonwidget.cc openbox_wrap.cc
-# guile.cc
+ buttonwidget.cc python.cc openbox_wrap.cc
MAINTAINERCLEANFILES= Makefile.in
@@ -29,6 +28,6 @@ openbox.i: openbox.hh screen.hh client.hh
touch $@
openbox_wrap.cc: openbox.i
- swig -python -c++ -nodefault -o $@ $<
+ swig $(filter -I%,$(CFLAGS)) -python -c++ -nodefault -o $@ $<
# local dependencies