blob: 1d2f0aac4d45d906d09990103a53e31c712aeb12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Makefile for Win32
!include <win32.mak>
TOP = ..\..
OSMESA_SRCS = osmesa.c
OSMESA_OBJS = osmesa.obj
OSMESALIB = OSmesa.lib
ASM_SRCS =
CORE_SRCS = $(OSMESA_SRCS)
DRIVER_SRCS =
SRCS = $(OSMESA_SRCS)
all : osmesalib install
!include "$(TOP)/mesawin32.mak"
osmesalib : $(OSMESALIB)
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -I$(TOP)/src
LFLAGS = /LIB
OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
LIBS = $(TOP)/lib/OpenGL32.lib $(TOP)/src/opengl32.exp
$(OSMESALIB) : $(OBJS)
$(link) $(LFLAGS) -out:$(OSMESALIB) $(OBJS) $(LIBS)
install : $(OSMESALIB)
@echo "copying OSMesa library to library directory..."
-copy $(OSMESALIB) $(TOP)\lib
clean ::
@del /f osmesa.obj
|