Subversion Repositories Kolibri OS

Rev

Rev 4503 | Rev 4866 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4503 Rev 4768
Line 1... Line 1...
1
LIBRARY= libeglut
1
LIBRARY= libeglut
-
 
2
IMPLIB=  libeglut.dll.a
-
 
3
 
Line 2... Line 4...
2
 
4
 
3
CC=gcc
5
CC=gcc
Line 4... Line 6...
4
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer
6
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer
Line 5... Line 7...
5
 
7
 
Line -... Line 8...
-
 
8
AR= ar
6
AR= ar
9
 
7
 
-
 
-
 
10
INCLUDES= -I. -I../newlib/include -I../Mesa/include -I../Mesa/src/gbm/main -I../libdrm/include
Line 8... Line 11...
8
INCLUDES= -I. -I../newlib/include -I../Mesa/include -I../Mesa/src/gbm/main -I../render
11
 
Line 9... Line 12...
9
 
12
LDFLAGS:=  -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib $(IMPLIB)
10
LIBPATH:= -L../../lib
13
LIBPATH:= -L../../lib
-
 
14
LIBS:=  -ldll -legl.dll -lgl.dll -lc.dll
-
 
15
 
Line 11... Line 16...
11
 
16
DEFINES= -D__unix__ -DMESA_EGL_NO_X11_HEADERS
Line 12... Line 17...
12
 
17
 
Line 13... Line 18...
13
DEFINES= -D__unix__ -DMESA_EGL_NO_X11_HEADERS
18
 
Line 14... Line 19...
14
 
19
SOURCES = eglut.c	\
15
 
20
	  eglut_screen.c\
16
SOURCES = eglut.c	\
21
	  render.c	\
Line 17... Line 22...
17
	  eglut_screen.c
22
	  swap.c	
-
 
23
 
-
 
24
 
-
 
25
OBJECTS =  $(patsubst %.c, %.o, $(SOURCES))
-
 
26
 
-
 
27
 
18
 
28
# targets 
Line 19... Line 29...
19
 
29
 
20
OBJECTS =  $(patsubst %.c, %.o, $(SOURCES))
30