From f116f40b6b1566858b57624b33999d515fe1088c Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 2 Dec 2005 16:19:50 +0000 Subject: [PATCH] defs.mk: Provisorically fixed timer compilation --- make/defs.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/make/defs.mk b/make/defs.mk index 73955079..0416764b 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -266,8 +266,11 @@ ifeq ($(USE_VALGRIND),true) # PROJECT_LDFLAGS += endif -ifeq ($(USE_TIMER),true) +# TODO: this shoud be only conditional, but breaks, because not all headers +# do a conditional include of timer headers, yet GENERATE_FUNC_TIMERS = $(MODDIR)/YStopWatchThreadList/generate_func_timers.sh + +ifeq ($(USE_TIMER),true) CFLAGS += -D_USE_TIMER_ CPPFLAGS += -D_USE_TIMER_ endif