compile with -DNDEBUG

This commit is contained in:
Brian Paul 2002-01-08 15:58:32 +00:00
parent 97291208cb
commit d599190575

View file

@ -1,8 +1,8 @@
# $Id: Makefile.X11,v 1.6 2001/12/14 17:19:32 kschultz Exp $
# $Id: Makefile.X11,v 1.7 2002/01/08 15:58:32 brianp Exp $
# Mesa 3-D graphics library
# Version: 3.5
# Copyright (C) 1995-2001 Brian Paul
# Version: 4.1
# Copyright (C) 1995-2002 Brian Paul
# Makefile for SGI SI GLU library
@ -122,11 +122,10 @@ OBJECTS = $(C_OBJECTS) $(CC_OBJECTS)
##### RULES #####
.c.o:
$(CC) -c $(INCDIRS) $(CFLAGS) -DLIBRARYBUILD $< -o $@
$(CC) -c $(INCDIRS) $(CFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@
.cc.o:
$(CPLUSPLUS) -c $(INCDIRS) $(CCFLAGS) -DLIBRARYBUILD $< -o $@
$(CPLUSPLUS) -c $(INCDIRS) $(CCFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@
##### TARGETS #####