Ignore:
Timestamp:
2010-09-01T10:36:46+12:00 (14 years ago)
Author:
mdewsnip
Message:

Lots of makefile tidy ups (both Windows and Linux), for consistency and flexibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2-core/common-src/src/lib/Makefile.am

    r22795 r22824  
    1111
    1212COMMON_SRC_DIR = @top_srcdir@
     13GSDL_DIR = $(COMMON_SRC_DIR)/..
    1314
    1415
     
    1920libgsdllib_a_CPPFLAGS = \
    2021    $(COMPAT32BITFLAGS)
     22
     23# Option: SQLite support
     24if USE_SQLITE
     25  libgsdllib_a_CPPFLAGS += -I$(GSDL_DIR)/common-src/packages/sqlite/include
     26endif
    2127
    2228# Sources for libgsdllib.a
     
    4147# Option: SQLite support
    4248if USE_SQLITE
    43   libgsdllib_a_CPPFLAGS += -I$(COMMON_SRC_DIR)/packages/sqlite/include
    4449  libgsdllib_a_SOURCES += sqlitedbclass.cpp
    4550endif
Note: See TracChangeset for help on using the changeset viewer.