Changeset 97


Ignore:
Timestamp:
Aug 11, 2010, 6:18:37 PM (10 years ago)
Author:
sam
Message:

Add a few more autotools rules.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r92 r97  
    3535dnl conditional builds
    3636AC_ARG_ENABLE(debug,
    37   [  --enable-debug          build debug versions of the library (default no)])
     37  [  --enable-debug          build debug versions of the game (default no)])
     38AC_ARG_ENABLE(release,
     39  [  --enable-release        build final release of the game (default no)])
    3840
    3941AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h)
     
    7072fi
    7173
     74if test "${enable_release}" = "yes"; then
     75  AC_DEFINE(FINAL_RELEASE, 1, Define to 1 to activate final release)
     76fi
     77
    7278AC_SUBST(MATH_LIBS)
    7379
  • trunk/tools/Makefile.am

    r92 r97  
    11
    2 all: make-font
     2noinst_PROGRAMS = make-font
    33
    4 make-font: make-font.o
    5         g++ -g -Wall -O3 $^ -o $@ `pkg-config --libs caca`
     4make_font_SOURCES = make-font.cpp
     5make_font_CXXFLAGS = `pkg-config --cflags caca`
     6make_font_LDFLAGS = `pkg-config --libs caca`
    67
    7 %.o: %.cpp
    8         g++ -g -Wall -O3 -c $^ -o $@ `pkg-config --cflags caca`
    9 
    10 clean:
    11         rm -f *.o make-font
    12 
Note: See TracChangeset for help on using the changeset viewer.