X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=Makefile;h=2c38091368a80a348d6d39fe97b11cce08228ea0;hp=d0e1784afd6d492d6f87a58c98d0c2417803450f;hb=d850ecb33250f963593a0988fc91c2d21b17a725;hpb=64b09a921ac6c46f8a7ff6e25c9aef3452cdc6b8 diff --git a/Makefile b/Makefile index d0e1784..2c38091 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ LDFLAGS = $(libpath) -ldrawtext $(libgl_$(sys)) $(libal_$(sys)) -lm -lgmath -lvm -limago -lresman -lpthread -lassimp -ltreestore -lgoatvr \ `pkg-config --libs sdl2 freetype2` -lpng -ljpeg -lz -lvorbisfile -lgomp -sys = $(shell uname -s | sed 's/MINGW.*/mingw/') +sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/') libgl_Linux = -lGL -lGLU -lGLEW libgl_Darwin = -framework OpenGL -lGLEW libgl_mingw = -lopengl32 -lglu32 -lglew32 @@ -32,7 +32,7 @@ libgl_mingw = -lopengl32 -lglu32 -lglew32 libal_Linux = -lopenal libal_Darwin = -framework OpenAL -libal_mingw = #? +libal_mingw = -lopenal ifeq ($(sys), mingw) bin = demo.exe