]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/GNUmakefile
Fix references when using --use-source-file-names (issue 4046)
[lilypond.git] / python / GNUmakefile
index bc9d2baeb50567add55e31853f82b5c834c2fd44..87fa7660893539f84d11b823ec9d56a7adc60002 100644 (file)
@@ -1,11 +1,14 @@
 depth = ..
 
+SUBDIRS=auxiliar
+
 STEPMAKE_TEMPLATES=c python-module install-out po
 
 include $(depth)/make/stepmake.make
 
+CFLAGS += -DPy_BUILD_CORE -Wall
 # unset al guile stuff from configure
-USER_LDFLAGS=
+CONFIG_LDFLAGS=
 
 INSTALLATION_OUT_SUFFIXES=1
 
@@ -15,5 +18,8 @@ INSTALLATION_OUT_DIR=$(local_lilypond_libdir)/python
 INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/python
 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