make: Merge from V_1_1_5_2_FIXES

This commit is contained in:
Jan Lindemann 2004-07-29 11:38:49 +00:00 committed by Jan Lindemann
commit 3e9de8d25e
5 changed files with 27 additions and 7 deletions

View file

@ -48,4 +48,20 @@ else
include $(TOPDIR)/make/cfg_dist.mk
endif
ifeq ($(USE_COMPILER_DEBUG_OPTS),true)
PROJECT_CFLAGS += -Wall -g3
PROJECT_CPPFLAGS += -Wall -g3
PROJECT_LDFLAGS += -Wall -g3
endif
ifeq ($(USE_COMPILER_OPTIMIZATION_OPTS),true)
PROJECT_CFLAGS += -funroll-loops -O2
PROJECT_CPPFLAGS += -funroll-loops -O2
else
ifneq ($(USE_COMPILER_DEBUG_OPTS),true)
PROJECT_CFLAGS += -DNDEBUG
PROJECT_CPPFLAGS += -DNDEBUG
endif
endif
LDFLAGS += -lytools -ldl -pthread