defs.mk: Provisorically fixed timer compilation

This commit is contained in:
Jan Lindemann 2005-12-02 16:19:50 +00:00 committed by Jan Lindemann
commit f116f40b6b

View file

@ -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