AM_CPPFLAGS = $(all_includes) METASOURCES = AUTO AM_CXXFLAGS = -Wreturn-type -ffast-math $(CXX_CPU_SWITCH) auto_generated_sources = nksp.cpp BUILT_SOURCES = $(auto_generated_sources) CLEANFILES = $(auto_generated_sources) DISTCLEANFILES = $(auto_generated_sources) noinst_LTLIBRARIES = liblinuxsamplerscriptvmeditor.la liblinuxsamplerscriptvmeditor_la_SOURCES = \ CodeScanner.h CodeScanner.cpp \ SourceToken.h \ NkspScanner.h NkspScanner.cpp nodist_liblinuxsamplerscriptvmeditor_la_SOURCES = \ $(auto_generated_sources) lex_sources = nksp.l EXTRA_DIST = $(lex_sources) # automatically (re)generate all auto generated files with Flex if the lex # source file has been changed $(auto_generated_sources): $(lex_sources) ## IMPORTANT: shell script must only be called once in Makefile to avoid ## concurrent re-generation of its output files with 'make -j'. $(top_srcdir)/scripts/generate_nksp_editor_parser.sh .NOTPARALLEL: $(auto_generated_sources) .PHONY: parser # "make parser" was explicitly requested parser: ## Exception of above's rule: this is never automatically called. $(top_srcdir)/scripts/generate_nksp_editor_parser.sh