mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
small refactoring of bindings/*/Makefile.am
make consistent use of BUILT_SOURCES with both .cpp and .h
This commit is contained in:
@@ -4,10 +4,11 @@ FREEJ_FLAGS = @SDL_CFLAGS@ @FT2_CFLAGS@ @XIPH_CFLAGS@ @UNICAP_CFLAGS@ \
|
||||
@FFMPEG_CFLAGS@ @MOZJS_CFLAGS@ @SDLGFX_CFLAGS@
|
||||
|
||||
swig_source = freej_py.cpp
|
||||
python_module = freej.py
|
||||
python_header = freej_py.h
|
||||
swig_header = freej_py.h
|
||||
|
||||
BUILT_SOURCES = $(swig_source)
|
||||
python_module = freej.py
|
||||
|
||||
BUILT_SOURCES = $(swig_source) $(swig_header)
|
||||
|
||||
$(swig_source): $(SWIG_IFACE)
|
||||
$(SWIG_COMMAND) $(SWIG_PYTHON_OPT) -threads -shadow -o $(swig_source) $(SWIG_IFACE)
|
||||
@@ -23,4 +24,4 @@ _freej_la_CXXFLAGS = $(FREEJ_FLAGS) $(SWIG_PYTHON_CPPFLAGS)
|
||||
_freej_la_LDFLAGS = -module -avoid-version
|
||||
_freej_la_LIBADD = -L$(top_builddir)/src/.libs -lfreej
|
||||
|
||||
CLEANFILES = $(swig_source) $(python_module) $(python_header)
|
||||
CLEANFILES = $(BUILT_SOURCES) $(python_module)
|
||||
|
||||
Reference in New Issue
Block a user