projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20020321-1-src
[rocksndiamonds.git]
/
src
/
Makefile
diff --git
a/src/Makefile
b/src/Makefile
index 4010bcfb1bcf537af3ff81766e40e90c0a6dd237..f4f503fc9cf2555e6242422fe1ab605f6af7a198 100644
(file)
--- 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