X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=0af9e1a699eb1ccca92c68f58a360c6b54876749;hb=135d8d8a02341719302158e7beade95fae2daf95;hp=9c0f1ce00d28163cab355ba4952bf64d2dada2af;hpb=f42df7ecfc0f8c1425baf89c88721ca878ee1de1;p=raydungeon diff --git a/Makefile b/Makefile index 9c0f1ce..0af9e1a 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ -src = $(wildcard src/*.c) +src = $(wildcard src/*.c) libs/glew/glew.c obj = $(src:.c=.o) dep = $(src:.c=.d) bin = game warn = -pedantic -Wall dbg = -g -def = -DMINIGLUT_USE_LIBC +def = -DMINIGLUT_USE_LIBC -DGLEW_STATIC -inc = -Ilibs -Ilibs/assfile -Ilibs/treestor/include +inc = -Ilibs -Ilibs/assfile -Ilibs/treestor/include -Ilibs/glew libs = -lassfile -ldrawtext -lgoat3d -limago -ltreestor CFLAGS = $(warn) $(opt) $(dbg) $(inc) $(def) -MMD @@ -24,7 +24,7 @@ ifeq ($(sys), mingw) libdir = -Llibs/w32 else - libgl = -lGL -lGLU -lX11 + libgl = -lGL -lX11 libdir = -Llibs/unix endif