From 699963ac8cce88fe15751e3b426f4381bade02f2 Mon Sep 17 00:00:00 2001 From: bradsoto <1541011+bradsoto@users.noreply.github.com> Date: Wed, 22 Jan 2020 12:39:39 -0700 Subject: Makefile: define BUILT_SOURCES variable to support concurret builds When running make -jN, make would fail randomly with higher numbers of N. "cli_parse.h not found". This fixes the error. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index affc413..010e0b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -75,6 +75,7 @@ src_libvyatta_cfg_la_SOURCES += src/commit/commit-algorithm.cpp CLEANFILES = src/cli_parse.c src/cli_parse.h src/cli_def.c src/cli_val.c CLEANFILES += src/cparse/cparse.cpp src/cparse/cparse.h CLEANFILES += src/cparse/cparse_lex.c +BUILT_SOURCES = src/cli_parse.h src/cli_def.c src/cli_val.c LDADD = src/libvyatta-cfg.la LDADD += $(GOBJECT_LIBS) -- cgit v1.2.3