Ignore:
Timestamp:
Feb 9, 2013, 11:05:15 PM (8 years ago)
Author:
sam
Message:

build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r2386 r2388  
    33
    44SUBDIRS = math sandbox xolotl
    5 
    6 AM_CPPFLAGS = -I$(top_srcdir)/src
    75
    86bench: benchsuite$(EXEEXT)
     
    2523    unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \
    2624    unit/color.cpp unit/atomic.cpp
    27 testsuite_CPPFLAGS = @LOL_CFLAGS@
    28 testsuite_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@
    29 testsuite_DEPENDENCIES = @LOL_STATIC_LIBS@
     25testsuite_CPPFLAGS = $(AM_CPPFLAGS)
    3026
    3127benchsuite_SOURCES = benchsuite.cpp \
    3228    benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
    3329    benchmark/real.cpp
    34 benchsuite_CPPFLAGS = @LOL_CFLAGS@
    35 benchsuite_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@
    36 benchsuite_DEPENDENCIES = @LOL_STATIC_LIBS@
     30benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
    3731
    3832btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h PhysicObject.h \
     
    4539    Physics/Src/BulletCharacterController.cpp \
    4640    Physics/Include/BulletCharacterController.h
    47 btphystest_CPPFLAGS = @LOL_CFLAGS@ -I$(top_srcdir)/src/bullet \
     41btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
    4842    -DHAVE_PHYS_USE_BULLET
    49 btphystest_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@
    50 btphystest_DEPENDENCIES = @LOL_STATIC_LIBS@
    5143
    5244meshviewer_SOURCES = MeshViewer.cpp
    53 meshviewer_CPPFLAGS = @LOL_CFLAGS@
    54 meshviewer_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@
    55 meshviewer_DEPENDENCIES = @LOL_STATIC_LIBS@
     45meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
    5646
Note: See TracChangeset for help on using the changeset viewer.