]> git.donarmstrong.com Git - lilypond.git/blobdiff - mi2mu/GNUmakefile
patch::: 1.0.8.jcn3: png
[lilypond.git] / mi2mu / GNUmakefile
index de251bbe42b5aa0fdcff2e08f3669c8bd7142070..067b0c5c17bb1debff2b46865e69842a1da49b44 100644 (file)
@@ -1,29 +1,25 @@
-# mi2mu/GNUmakefile
-#
-# This file helps maintainers to keep their Makefile.am automatically
-# up to date using GNU make features.
-# If you don't have (or run) GNU make, Makefile.am will not be updated
-# automatically when source files are added/removed.
+# title           makefile for mi2mu
+# file    mi2mu/Makefile 
+
+depth = ..
 
-# automake/wild-make should generate this file from Makefile.am.wild
+NAME = mi2mu
+MODULE_NAME = mi2mu
 
-include Makefile
+SUBDIRS = include
+EXTRA_DIST_FILES += TODO
+MODULE_LIBS=$(depth)/lib $(depth)/flower
 
-# Makefile.am.wild: mi2mu_SOURCES = $(wildcard *.cc)
-CURRENT_mi2mu_SOURCES = $(wildcard *.cc)
+STEPMAKE_TEMPLATES=c++ executable
 
-# ugh: there is a dummy file 'wild-check' to satisfy the wild-check target
-# for non-GNU makes in Makefile(.test)
-# but we'll ignore that
-# .PHONY: wild-check
+include $(depth)/make/stepmake.make 
+
+# explicit dependencies: (how to do auto?)
+#
+midi-lexer.l:  $(outdir)/midi-parser.hh
 
-wild-check: check-mi2mu-sources
 
-check-mi2mu-sources:
-ifneq ($(mi2mu_SOURCES),$(CURRENT_mi2mu_SOURCES))
-       @echo \"$(mi2mu_SOURCES)\"
-       @echo \"$(CURRENT_mi2mu_SOURCES)\"
-       @echo  mi2mu_SOURCES changed: NOT yet rerunning make-wild.  Please type:
-       @echo "$(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am"
-endif
+$(outdir)/mi2mu-version.o: $(outdir)/version.hh
 
+VERSION: $(depth)/VERSION
+       cp $< $@