root/tags/Release_0_1/DerelictGL/Makefile

Revision 20, 0.8 kB (checked in by aldacron, 5 years ago)

* reworked the loading of proc addresses so that exeptions are thrown again if a proc fails to load (this was broken when I switched to std.loader)
* fixed some minor Makefile annoyances in each package
* corrected a type in the DerelictGL readme
* added readmes for GLU and SDL
* added an sdl_dist directory to DerelictSDL and filled it with the relevant files

Line 
1 SRC.DIR = ..\DerelictGL
2 OBJ.DIR = ..\obj
3 LIB.DIR = ..\lib
4 BIN.DIR = ..\bin
5
6 DFLAGS = -v
7 LIBFLAGS = -c       
8 DINC = -I$(SRC.DIR)
9
10 OGL.SRC.DIR = $(SRC.DIR)\derelict\opengl
11 OGL.SRC = \
12     $(OGL.SRC.DIR)\gl.d \
13     $(OGL.SRC.DIR)\gltypes.d \
14     $(SRC.DIR)\glee.d \
15     $(SRC.DIR)\glConstants.d
16    
17 OGL.OBJ.DIR = $(OBJ.DIR)\opengl
18 OGL.OBJ = \
19     $(OGL.OBJ.DIR)\gl.obj \
20     $(OGL.OBJ.DIR)\gltypes.obj \
21     $(OGL.OBJ.DIR)\glee.obj \
22     $(OGL.OBJ.DIR)\glConstants.obj
23    
24 OGL.LIB = $(LIB.DIR)\derelictGL
25
26 DEFAULT: lib
27    
28 clean:
29     del $(OGL.OBJ.DIR)\*.obj
30
31 cleanall:
32     del $(OGL.OBJ.DIR)\*.obj
33     del $(OGL.LIB).lib
34     del $(OGL.LIB).bak
35
36 lib:
37     dmd $(OGL.SRC) -c $(DFLAGS) $(DINC) -od$(OGL.OBJ.DIR)
38     lib $(LIBFLAGS) $(OGL.LIB).lib $(OGL.OBJ)
Note: See TracBrowser for help on using the browser.