From 6f76a7a12d965270c89fa2ce0fd4bbb9f369c35d Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Sun, 17 Nov 2013 14:59:20 -0500 Subject: [PATCH] made incremental builds faster by avoiding redundant rebuild of the Gem library --- externals/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/externals/Makefile b/externals/Makefile index 383273ad7..60a27f0cd 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -604,12 +604,13 @@ $(gem_src)/Gem.dll: $(gem_src)/configure $(MAKE) -C $(gem_src) $(gem_src)/Gem.pd_linux: $(gem_src)/configure - cd $(gem_src) && ./configure \ - CXXFLAGS="-DHAVE_S_STUFF_H" \ - --prefix=$(prefix) \ - --with-video=plugins \ - --with-film=plugins \ - --with-pd=$(pd_src) + test -s $(gem_src)/Gem.pd_linux || \ + cd $(gem_src) && ./configure \ + CXXFLAGS="-DHAVE_S_STUFF_H" \ + --prefix=$(prefix) \ + --with-video=plugins \ + --with-film=plugins \ + --with-pd=$(pd_src) $(MAKE) -C $(gem_src) $(gem_src)/Gem.pd_darwin: $(gem_src)/configure -- GitLab