File: Makefile

package info (click to toggle)
glfw 2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,172 kB
  • ctags: 2,274
  • sloc: ansic: 16,424; sh: 424; asm: 306; makefile: 226; pascal: 86
file content (59 lines) | stat: -rw-r--r-- 1,472 bytes parent folder | download | duplicates (2)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
##########################################################################
# This makefile builds the example programs using the Digital Mars D
# compiler. You need to copy the .lib files from support\d\lib to your
# Digital Mars C/C++ compiler/linker lib folder (dm\lib) before compiling
# the programs.
##########################################################################

DC     = dmd
IMPORTSDIR = ..\imports
DFLAGS = -O -I$(IMPORTSDIR)
LIBDIR = ..\lib
LIBS = $(LIBDIR)\glfwdll.lib $(LIBDIR)\glu32.lib $(LIBDIR)\opengl32.lib


all: boing.exe keytest.exe gears.exe listmodes.exe mipmaps.exe \
	mthello.exe mtbench.exe particles.exe pong3d.exe splitview.exe \
	triangle.exe wave.exe


clean:
	del *.exe *.obj *.map


boing.exe: boing.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

keytest.exe: keytest.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

gears.exe: gears.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

listmodes.exe: listmodes.d $(IMPORTSDIR)\glfw.d
	$(DC) $(DFLAGS) -of$@ $<d $(IMPORTSDIR)\glfw.d $(LIBS)

mipmaps.exe: mipmaps.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

mthello.exe: mthello.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

mtbench.exe: mtbench.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

particles.exe: particles.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

pong3d.exe: pong3d.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

splitview.exe: splitview.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

triangle.exe: triangle.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)

wave.exe: wave.d
	$(DC) $(DFLAGS) -of$@ $<d $(LIBS)