X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=Makefile;h=b2011c511e4f31a59b0afb97b5bed04c33ba0974;hp=dcdb394231d98e35f4f73c040ccd5c89943d138b;hb=fe42df865c5758f5964f47e1827ba04dabc36a91;hpb=aa3642083aca7bc8ae394200fe3de5254c996a19 diff --git a/Makefile b/Makefile index dcdb394..b2011c5 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,11 @@ incpath = -Isrc -Isrc/machine -I/usr/local/include `pkg-config --cflags sdl2` warn = -pedantic -Wall -CFLAGS = $(warn) $(opt) $(dbg) $(incpath) -CXXFLAGS = -std=c++11 $(warn) $(opt) $(dbg) $(incpath) +CFLAGS = $(warn) $(opt) $(dbg) $(incpath) -fopenmp +CXXFLAGS = -std=c++11 $(warn) $(opt) $(dbg) $(incpath) -fopenmp LDFLAGS = $(libpath) -ldrawtext $(libgl_$(sys)) $(libal_$(sys)) -lm -lgmath -lvmath \ -limago -lresman -lpthread -lassimp -ltreestore -lgoatvr \ - `pkg-config --libs sdl2 freetype2` -lpng -ljpeg -lz -lvorbisfile + `pkg-config --libs sdl2 freetype2` -lpng -ljpeg -lz -lvorbisfile -lgomp sys = $(shell uname -s | sed 's/MINGW.*/mingw/') libgl_Linux = -lGL -lGLU -lGLEW