source: trunk/tutorial/Makefile.am @ 1963

Last change on this file since 1963 was 1924, checked in by sam, 8 years ago

build: refactor lolfx build rule into common.am.

File size: 1.8 KB
RevLine 
[1043]1
[1923]2include $(top_srcdir)/build/autotools/common.am
3
[1043]4AM_CPPFLAGS = -I$(top_srcdir)/src
5
[1760]6all-local: $(PROGRAMS) $(noinst_PROGRAMS)
7        for x in $(^:%$(EXEEXT)=%); do \
[1242]8          test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
9        done
[1043]10
11CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
12             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
[1479]13             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
[1043]14
[1824]15noinst_PROGRAMS = 01_triangle 02_cube 03_noise 05_easymesh 08_fbo 11_fractal
[1043]16
[1479]1701_triangle_SOURCES = 01_triangle.cpp 01_triangle.lolfx
[1242]1801_triangle_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
1901_triangle_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
2001_triangle_DEPENDENCIES = $(top_builddir)/src/liblol.a
[1043]21
[1479]2202_cube_SOURCES = 02_cube.cpp 02_cube.lolfx
[1242]2302_cube_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
2402_cube_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
2502_cube_DEPENDENCIES = $(top_builddir)/src/liblol.a
[1043]26
[1824]2703_noise_SOURCES = 03_noise.cpp 03_noise.lolfx
2803_noise_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
2903_noise_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
3003_noise_DEPENDENCIES = $(top_builddir)/src/liblol.a
31
[1598]3205_easymesh_SOURCES = 05_easymesh.cpp
3305_easymesh_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
3405_easymesh_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
3505_easymesh_DEPENDENCIES = $(top_builddir)/src/liblol.a
36
[1574]3708_fbo_SOURCES = 08_fbo.cpp 08_fbo.lolfx
3808_fbo_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
3908_fbo_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
4008_fbo_DEPENDENCIES = $(top_builddir)/src/liblol.a
41
[1518]4211_fractal_SOURCES = 11_fractal.cpp 11_fractal.lolfx
4311_fractal_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
4411_fractal_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
4511_fractal_DEPENDENCIES = $(top_builddir)/src/liblol.a
[1054]46
Note: See TracBrowser for help on using the repository browser.