]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/GNUmakefile
Merge branch 'master' into translation
[lilypond.git] / python / GNUmakefile
index 14060aed61dc35bbf482c003fbfbb06b527e54dc..19af006386168d2927bafa111d13e2848fdbd626 100644 (file)
@@ -6,7 +6,8 @@ STEPMAKE_TEMPLATES=c python-module install-out po
 
 include $(depth)/make/stepmake.make
 
-CFLAGS += -DPy_BUILD_CORE -Wall
+CFLAGS += -DPy_BUILD_CORE -Wall $(PYTHON_CFLAGS)
+LDFLAGS += $(PYTHON_LIBS)
 # unset al guile stuff from configure
 CONFIG_LDFLAGS=
 
@@ -21,3 +22,5 @@ INSTALLATION_OUT_FILES1=$(OUT_PY_MODULES) $(OUT_PYC_MODULES)
 $(outdir)/midi.lo: $(outdir)/config.hh
 
 default: $(outdir)/relocate-preamble.py
+
+$(outdir)/relocate-preamble.py: $(depth)/VERSION