Makefile: update to build with gl3n and glamour
This commit is contained in:
parent
a7d14a3aab
commit
063b9a4d3a
8
Makefile
8
Makefile
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user