dbf-udg

diff Makefile @ 5:e09cbb2e9d4f

metaballs
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 18 Feb 2013 03:46:52 +0200
parents 2d27bfd21fc5
children 7056437a361b
line diff
     1.1 --- a/Makefile	Thu Feb 07 18:52:28 2013 +0200
     1.2 +++ b/Makefile	Mon Feb 18 03:46:52 2013 +0200
     1.3 @@ -1,12 +1,13 @@
     1.4 -csrc = $(wildcard src/*.c)
     1.5 +csrc = $(wildcard src/*.c) \
     1.6 +	   $(wildcard libs/metasurf/*.c)
     1.7  ccsrc = $(wildcard src/*.cc)
     1.8  obj = $(csrc:.c=.o) $(ccsrc:.cc=.o)
     1.9  dep = $(obj:.o=.d)
    1.10  bin = udg
    1.11  
    1.12 -CFLAGS = -pedantic -Wall -g
    1.13 +CFLAGS = -pedantic -Wall -g -O3 -Ilibs/metasurf
    1.14  CXXFLAGS = -std=c++11 $(CFLAGS)
    1.15 -LDFLAGS = $(libgl) -limago
    1.16 +LDFLAGS = $(libgl) -limago -lvmath
    1.17  
    1.18  ifeq ($(shell uname -s), Darwin)
    1.19  	libgl = -framework OpenGL -framework GLUT -lGLEW