# include ./$(depth)/$(NAME)/.version
MODULE_NAME = flower
include ./$(depth)/flower/.version
-build = ./$(depth)/flower/test/$(outdir)/.build
+
#
# generic variables:
#
-include ./$(depth)/make/Variables.make
+include ./$(depth)/make/Variables.make
+include ./$(depth)/make/Files.make
#
# descent order into subdirectories:
# module compile settings: (not generally needed!
#
EXTRA_CFLAGS = -DSTRING_TEST
-EXTRA_CXXFLAGS =
-EXTRA_LDFLAGS =
-#
-
-# list of c++ header files:
-#
-# HHFILES = $(shell ls *.hh $(ERROR_LOG))
-#
-
-# list of c++ source files:
-#
-CCFILES = $(shell ls *.cc $(ERROR_LOG))
#
-# list of other source files:
-#
-EXTRA_SOURCE_FILES = $(shell ls *.y *.l $(ERROR_LOG))
-#
# list of distribution files:
#
-DISTFILES = Makefile $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
-#
+EXTRA_DISTFILES = result
# list of custom libraries:
#
#default: $(MAINTARGET)
BUILDSTRINGTEST=$(MAINTARGET)
EXECSTRINGTEST=$(EXECUTABLE)
+
default: $(BUILDSTRINGTEST) do-stringtest
do-stringtest:
- $(EXECSTRINGTEST) # should cmp with a 'standard result'
+ $(EXECSTRINGTEST) > $(outdir)/result # should cmp with a 'standard result'
+ cmp $(outdir)/result result
dummy:
# list of depend files:
#
-DEPFILES = $(shell ls $(depdir)/*.dep $(ERROR_LOG))
+DEPFILES = $(wildcard $(depdir)/*.dep )
#
# auto dependencies:
# init/Makefile
+
# subdir level:
#
depth = ..
# generic stuff/Makefile
#
-include ./$(depth)/make/Stuff.make
+include ./$(depth)/make/Include.make
#
# list of distribution files:
#
-INIFILES = $(shell ls *.ini)
+INIFILES = $(wildcard *.ini)
DISTFILES = Makefile $(INIFILES)
#
# identify module:
#
MODULE_NAME = lilypond
-MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
-MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
-PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
-# use to send patches, always empty for released version:
-MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
-build = ./$(depth)/mi2mu/$(outdir)/.build
#
# generic stuff/Makefile
#
depth = ..
#
-
-build = ./$(depth)/lily/$(outdir)/.build
-
-# generic stuff/Makefile
#
-include ./$(depth)/make/Stuff.make
+include ./$(depth)/make/Include.make
#
# list of distribution files:
#
-TEXFILES = $(shell ls *.tex)
+TEXFILES = $(wildcard *.tex)
DISTFILES = Makefile $(TEXFILES)
#
localuninstall:
for i in $(TEXFILES) ; do rm -f $(TEXPREFIX)/lilypond/$$i; done
- -rmdir $(TEXPREFIX)/lilypond/
\ No newline at end of file
+ -rmdir $(TEXPREFIX)/lilypond/