mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 10:40:36 +01:00
Fix up Windows makefiles so that the debug build leaves debugger info
in the libraries. Make with NODEBUG=1 builds optimized without debug info (doc'ed in top level Makefile.win).
This commit is contained in:
parent
968e557dcd
commit
954f511473
5 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile.win,v 1.3 2001/09/18 20:47:23 kschultz Exp $
|
||||
# $Id: Makefile.win,v 1.4 2001/09/25 16:25:41 kschultz Exp $
|
||||
|
||||
# Mesa 3-D graphics library
|
||||
# Version: 3.5
|
||||
|
|
@ -76,7 +76,7 @@ targets: readtex.c readtex.h $(PROGS)
|
|||
|
||||
$(OSMESAEXES) : $*.obj
|
||||
@echo $@
|
||||
$(link) -out:$@ $** /LIBPATH:$(LIBDIR) $(LIBS) $(EXTRALIBS)
|
||||
$(link) $(lcommon) -out:$@ $** /LIBPATH:$(LIBDIR) $(LIBS) $(EXTRALIBS)
|
||||
|
||||
readtex.c:
|
||||
@copy ../util/readtex.c .
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ all : gludll
|
|||
gludll : $(GLUDLL)
|
||||
|
||||
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -Iinclude -DBUILD_GL32
|
||||
LFLAGS = $(dlllflags) $(LFLAGS)
|
||||
LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
|
||||
|
||||
OBJS = $(GLU_SRCS:.c=.obj)
|
||||
LIBS = ../lib/$(MESALIB) winmm.lib $(guilibsdll)
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ OPTIMIZE_CFLAGS = -DNDEBUG
|
|||
!ENDIF
|
||||
|
||||
CFLAGS = $(cvarsdll) $(CFLAGS) $(OPTIMIZE_CFLAGS) -DMESA -DBUILD_GL32
|
||||
LFLAGS = $(dlllflags) $(LFLAGS)
|
||||
LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
|
||||
|
||||
OBJS = $(SRCS:.c=.obj)
|
||||
MS_LIBS = ../lib/$(MESALIB) ../lib/$(GLULIB) winmm.lib $(guilibsdll)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ all : osmesadll
|
|||
osmesadll: $(OSMESADLL)
|
||||
|
||||
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -DBUILD_GL32 -I$(TOP)/src
|
||||
LFLAGS = $(LFLAGS) $(dlllflags)
|
||||
LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
|
||||
|
||||
OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
|
||||
LIBS = $(guilibsdll) $(TOP)/lib/$(MESALIB)
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ all : mesadll $(SUBDIRS)
|
|||
mesadll : $(MESADLL)
|
||||
|
||||
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -DBUILD_GL32 -DNO_PARALLEL -DNO_STEREO
|
||||
LFLAGS = $(dlllflags) $(LFLAGS)
|
||||
LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
|
||||
|
||||
OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
|
||||
LIBS = winmm.lib $(guilibsdll)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue