stratgame

diff Makefile @ 2:369b51c9e4a8

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 23 May 2012 07:25:43 +0300
parents 55a43e27339a
children 8d95187cb3ee
line diff
     1.1 --- a/Makefile	Tue May 22 05:02:00 2012 +0300
     1.2 +++ b/Makefile	Wed May 23 07:25:43 2012 +0300
     1.3 @@ -4,14 +4,15 @@
     1.4  dep = $(obj:.o=.d)
     1.5  bin = strat
     1.6  
     1.7 -incdir = -Isrc -Ilevel/src
     1.8 +incdir = -Isrc -Ilevel/src -Icommon/src
     1.9  
    1.10  liblevel = level/liblevel.a
    1.11 -slibs = $(liblevel)
    1.12 +libcommon = common/libcommon.a
    1.13 +slibs = $(liblevel) $(libcommon)
    1.14  
    1.15  CFLAGS = -pedantic -Wall -g $(incdir)
    1.16  CXXFLAGS = -std=c++0x $(CFLAGS)
    1.17 -LDFLAGS = $(libdir) $(slibs) $(libgl) -limtk
    1.18 +LDFLAGS = $(libdir) $(slibs) $(libgl) -limtk -limago -lvmath
    1.19  
    1.20  ifeq ($(shell uname -s), Darwin)
    1.21  	CC = clang