X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2FMakefile;fp=src%2FMakefile;h=5cbc559ea2daa697ea2dec5eeadb55e2b5a01c0f;hp=21ca5f9534648dbb977c5a93c38c9191a11bb3fe;hb=76334a7dc0e0bffe01ee32c31a5522d35341a7dd;hpb=e6f748f5628abdd08d3d55e879de5b0d495a4a08 diff --git a/src/Makefile b/src/Makefile index 21ca5f95..5cbc559e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -133,6 +133,10 @@ OPTIONS = $(DEBUG) -Wall -Wstrict-prototypes -Wmissing-prototypes # OPTIONS = -O2 -Wall # OPTIONS = -O2 +ifdef BUILD_TEST # test build +OPTIONS := $(OPTIONS) -DTESTING +endif + ifdef BUILD_DIST # distribution build SYS_LDFLAGS := $(shell echo $(SYS_LDFLAGS) | \ sed -e "s%-rpath,[^ ]*%-rpath,'\$$ORIGIN/lib'%")