also let one not build with debugger info

This commit is contained in:
Alam Ed Arias 2016-11-14 22:00:21 -05:00
parent cf1b931add
commit b5b792dee4
2 changed files with 6 additions and 3 deletions

View file

@ -383,7 +383,10 @@ else
WINDRESFLAGS = -DNDEBUG
CFLAGS+=-O3
endif
CFLAGS+=-g $(OPTS) $(M5) $(WINDRESFLAGS)
ifndef NODEBUG
CFLAGS+=-g
endif
CFLAGS+=$(OPTS) $(M5) $(WINDRESFLAGS)
ifdef YASM
ifdef STABS

View file

@ -20,9 +20,9 @@ ifdef WATTCP
endif
#ifdef DEBUGMODE
LIBS=-lalld
# LIBS=-lalld
#else
# LIBS=-lalleg
LIBS=-lalleg
#endif
ifndef NONET