Lines 161-172
Link Here
|
161 |
COMPILER = @CC@ |
161 |
COMPILER = @CC@ |
162 |
CPLUSPLUS = @CXX@ |
162 |
CPLUSPLUS = @CXX@ |
163 |
|
163 |
|
|
|
164 |
CFLAGS = @CFLAGS@ |
165 |
CXXFLAGS = @CXXFLAGS@ |
166 |
LDFLAGS = @LDFLAGS@ |
167 |
|
164 |
# QUIET=yes causes the compiler to be less verbose about warnings. |
168 |
# QUIET=yes causes the compiler to be less verbose about warnings. |
165 |
QUIET = no |
169 |
QUIET = no |
166 |
|
170 |
|
167 |
# DEBUG=yes forces out-of-date executables to be built with symbolic |
171 |
# DEBUG=yes forces out-of-date executables to be built with symbolic |
168 |
# debugging information. Any other value is ignored. |
172 |
# debugging information. Any other value is ignored. |
169 |
DEBUG = yes |
173 |
DEBUG = no |
170 |
|
174 |
|
171 |
# OPTIM=<compiler optimization> forces user-defined optimizations to be used, |
175 |
# OPTIM=<compiler optimization> forces user-defined optimizations to be used, |
172 |
# rather than the compiler-specific default. |
176 |
# rather than the compiler-specific default. |
Lines 174-180
Link Here
|
174 |
# If OPTIM=none, then no optimization is used. |
178 |
# If OPTIM=none, then no optimization is used. |
175 |
# If unset, defaults are used. |
179 |
# If unset, defaults are used. |
176 |
# -fno-exceptions |
180 |
# -fno-exceptions |
177 |
OPTIM = |
181 |
OPTIM = none |
178 |
|
182 |
|
179 |
# PROFILE=yes builds sampled-profiling (i.e. gprof) executables. Any other |
183 |
# PROFILE=yes builds sampled-profiling (i.e. gprof) executables. Any other |
180 |
# value is ignored. |
184 |
# value is ignored. |
Lines 317-322
Link Here
|
317 |
# Setup final compilation options: |
321 |
# Setup final compilation options: |
318 |
|
322 |
|
319 |
CPP_OPTIONS = \ |
323 |
CPP_OPTIONS = \ |
|
|
324 |
$(CXXFLAGS) \ |
320 |
$(SYS_WARN) \ |
325 |
$(SYS_WARN) \ |
321 |
$(SYS_OPT) \ |
326 |
$(SYS_OPT) \ |
322 |
$(SYS_DEBUG) \ |
327 |
$(SYS_DEBUG) \ |
Lines 328-333
Link Here
|
328 |
@INCLUDES@ |
333 |
@INCLUDES@ |
329 |
|
334 |
|
330 |
LINK_OPTIONS = \ |
335 |
LINK_OPTIONS = \ |
|
|
336 |
$(LDFLAGS) \ |
331 |
$(SYS_DEBUG) \ |
337 |
$(SYS_DEBUG) \ |
332 |
$(SYS_LINK) \ |
338 |
$(SYS_LINK) \ |
333 |
$(OMP_LINK) \ |
339 |
$(OMP_LINK) \ |
Lines 406-417
Link Here
|
406 |
$(CPLUSPLUS) $(CPPO) $(CPPC) $(SYS_LANG) $(MAKEDEPEND_OPTS) -o $(BIN)/MakeDepend $(SRC)/MakeDepend.cc |
406 |
$(CPLUSPLUS) $(CPPO) $(CPPC) $(SYS_LANG) $(MAKEDEPEND_OPTS) -o $(BIN)/MakeDepend $(SRC)/MakeDepend.cc |
407 |
|
407 |
|
408 |
checkLock: $(SRC)/util/checkLock.cc |
408 |
checkLock: $(SRC)/util/checkLock.cc |
409 |
$(CPLUSPLUS) $(SRC)/util/checkLock.cc -o $(BIN)/checkLock |
409 |
$(CPLUSPLUS) $(CXXFLAGS) $(SRC)/util/checkLock.cc $(LDFLAGS) -o $(BIN)/checkLock |
410 |
|
410 |
|
411 |
random/Random.o: random/Random.cc |
411 |
random/Random.o: random/Random.cc |
412 |
@ mkdir -p $(OBJ)/${@D} |
412 |
@ mkdir -p $(OBJ)/${@D} |
413 |
cp $(SRC)/random/Random.cc $(SRC)/random/Random.c |
413 |
cp $(SRC)/random/Random.cc $(SRC)/random/Random.c |
414 |
$(CC) $(SYS_LANG) -c $(SRC)/random/Random.cc -w -Drandom=randomx -Dsrandom=srandomx -o $(OBJ)/random/Random.o |
414 |
$(CC) $(CFLAGS) $(SYS_LANG) -c $(SRC)/random/Random.cc -w -Drandom=randomx -Dsrandom=srandomx -o $(OBJ)/random/Random.o |
415 |
rm $(SRC)/random/Random.c |
415 |
rm $(SRC)/random/Random.c |
416 |
|
416 |
|
417 |
MemTracker.o: MemTracker.cc |
417 |
MemTracker.o: MemTracker.cc |