Ignore:
Timestamp:
Apr 20, 2012, 10:01:16 PM (9 years ago)
Author:
sam
Message:

tutorial: some refactoring in the tutorials.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tutorial/Makefile.am

    r1054 r1242  
    33
    44all-local: $(noinst_PROGRAMS)
    5         test x$(MAKE_FSELF) = xno || make_fself tut01$(EXEEXT) tut01.self
    6         test x$(MAKE_FSELF) = xno || make_fself tut02$(EXEEXT) tut02.self
    7         test x$(MAKE_FSELF) = xno || make_fself tut03$(EXEEXT) tut03.self
     5        for x in $(noinst_PROGRAMS); do \
     6          test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
     7        done
    88
    99CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
     
    1111             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
    1212
    13 noinst_PROGRAMS = tut01 tut02 tut03
     13noinst_PROGRAMS = 01_triangle 02_cube 03_fractal
    1414
    15 tut01_SOURCES = tut01.cpp
    16 tut01_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
    17 tut01_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
    18 tut01_DEPENDENCIES = $(top_builddir)/src/liblol.a
     1501_triangle_SOURCES = 01_triangle.cpp
     1601_triangle_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
     1701_triangle_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
     1801_triangle_DEPENDENCIES = $(top_builddir)/src/liblol.a
    1919
    20 tut02_SOURCES = tut02.cpp
    21 tut02_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
    22 tut02_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
    23 tut02_DEPENDENCIES = $(top_builddir)/src/liblol.a
     2002_cube_SOURCES = 02_cube.cpp
     2102_cube_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
     2202_cube_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
     2302_cube_DEPENDENCIES = $(top_builddir)/src/liblol.a
    2424
    25 tut03_SOURCES = tut03.cpp
    26 tut03_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
    27 tut03_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
    28 tut03_DEPENDENCIES = $(top_builddir)/src/liblol.a
     2503_fractal_SOURCES = 03_fractal.cpp
     2603_fractal_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
     2703_fractal_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
     2803_fractal_DEPENDENCIES = $(top_builddir)/src/liblol.a
    2929
Note: See TracChangeset for help on using the changeset viewer.