X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=f4f503fc9cf2555e6242422fe1ab605f6af7a198;hb=efd0d0abb853018aa3ccc3c727b39bd7f5ba679d;hp=4010bcfb1bcf537af3ff81766e40e90c0a6dd237;hpb=e6107a527a13127f9bb2a4f501a7be84ec098473;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index 4010bcfb..f4f503fc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -108,6 +108,10 @@ OPTIONS = $(DEBUG) -O3 -Wall # only for debugging purposes # OPTIONS = -O3 # OPTIONS = -DSYSV -Ae # may be needed for HP-UX +ifdef BUILD_DIST # distribution build +OPTIONS = -O3 -Wall +endif + CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG) LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm