Changeset 1529


Ignore:
Timestamp:
Jun 26, 2012, 9:52:52 AM (7 years ago)
Author:
sam
Message:

build: create and activate Makefile for ToukyDemo.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1524 r1529  
    407407])
    408408AC_CONFIG_FILES(
     409 [games/ToukyDemo/Makefile
     410])
     411AC_CONFIG_FILES(
    409412 [tools/neercs/Makefile
    410413])
  • trunk/games/Makefile.am

    r1524 r1529  
    55SUBDIRS += mrpigeon
    66SUBDIRS += orbital
     7SUBDIRS += ToukyDemo
    78
  • trunk/games/ToukyDemo/Makefile.am

    r1526 r1529  
    11
    2 noinst_PROGRAMS = orbital
     2noinst_PROGRAMS = ToukyDemo
    33
    4 orbital_SOURCES = \
    5     orbital.cpp orbital.h \
    6     particlesystem.h tank.h player.h gun.h snake.h starfield.h \
    7     \
    8     Lolnament.h \
    9     \
    10     generated/location.hh generated/position.hh generated/stack.hh \
    11     \
    12     gun.cpp gun.h gun-compiler.cpp gun-compiler.h \
    13     generated/gun-scanner.cpp \
    14     generated/gun-parser.cpp generated/gun-parser.h
    15 orbital_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
    16 orbital_LDADD =
    17 orbital_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
    18 orbital_DEPENDENCIES = $(top_builddir)/src/liblol.a
     4ToukyDemo_SOURCES = \
     5    Character.h  ToukyDemo.cpp  ToukyDemo.h  UserReactiveObject.h
     6ToukyDemo_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
     7ToukyDemo_LDADD =
     8ToukyDemo_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
     9ToukyDemo_DEPENDENCIES = $(top_builddir)/src/liblol.a
    1910
    20 all-local: orbital$(EXEEXT)
    21         test $(MAKE_FSELF) = no || make_fself orbital$(EXEEXT) orbital.self
     11all-local: ToukyDemo$(EXEEXT)
     12        test $(MAKE_FSELF) = no || make_fself ToukyDemo$(EXEEXT) ToukyDemo.self
    2213
    23 if TRUE
    24 generated: .FORCE
    25         $(MKDIR_P) generated
    26         rm -f generated/[a-zA-Z]*
    27         flex -o generated/gun-scanner.cpp gun-scanner.l
    28         bison -o generated/gun-parser.cpp --defines=generated/gun-parser.h \
    29               -d -b generated/gun gun-parser.y
    30 .FORCE:
    31 endif
    32 
    33 EXTRA_DIST = gun-scanner.l gun-parser.y
    3414CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
    3515             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
Note: See TracChangeset for help on using the changeset viewer.