Makefile: update to build with gl3n and glamour
This commit is contained in:
1 parent
a7d14a3aab
commit
063b9a4d3a
1 file changed
+6
-2
@@ -1,2 +1,6 @@
|
|||||||
all:
|
TARGET := d-dub-derelict-sdl2-gl3-demo
|
||||||
dub build --compiler=gdc
|
SOURCES := source/*.d /usr/local/src/d/derelict/sdl2/*.d /usr/local/src/d/derelict/opengl3/*.d /usr/local/src/d/gl3n/*.d /usr/local/src/d/gl3n/ext/*.d /usr/local/src/d/glamour/*.d
|
||||||
|
DFLAGS := -I/usr/local/src/d -fversion=Derelict3 -fversion=gl3n -fversion=SDLImage -L/usr/local/lib -lDerelictUtil -ldl
|
||||||
|
|
||||||
|
$(TARGET): $(SOURCES)
|
||||||
|
gdc -o $@ $(DFLAGS) $(SOURCES)
|
||||||
Reference in new issue
Block a user