From: Owen Shepherd Date: Mon, 14 Jul 2014 12:04:33 +0000 (+0100) Subject: Only build helloworld test when building tests X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=ad5b4430336998c5117621106beb00e3375d1d55 Only build helloworld test when building tests --- diff --git a/Jamfile b/Jamfile index a7a26c3..86b2d5f 100644 --- a/Jamfile +++ b/Jamfile @@ -46,12 +46,12 @@ if ! $(PDCLIB_NO_TEST) { RegTest $(regtest) : $(regtestfile) ; } } -} -Main helloworld : helloworld.c ; -LinkLibraries helloworld : $(PDCLIB) ; -LINKLIBS on helloworld$(SUFEXE) += $(PDCLIB_TEST_LINKLIBS) ; -LINKFLAGS on helloworld$(SUFEXE) += $(PDCLIB_TEST_LINKFLAGS) ; + Main helloworld : helloworld.c ; + LinkLibraries helloworld : $(PDCLIB) ; + LINKLIBS on helloworld$(SUFEXE) += $(PDCLIB_TEST_LINKLIBS) ; + LINKFLAGS on helloworld$(SUFEXE) += $(PDCLIB_TEST_LINKFLAGS) ; +} rule HtmlMan { DEPENDS htmlman : $(<) ;