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
Line 
1
2include $(top_srcdir)/build/autotools/common.am
3
4AM_CPPFLAGS = -I$(top_srcdir)/src
5
6all-local: $(PROGRAMS) $(noinst_PROGRAMS)
7        for x in $(^:%$(EXEEXT)=%); do \
8          test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
9        done
10
11CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
12             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
13             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
14
15noinst_PROGRAMS = 01_triangle 02_cube 03_noise 05_easymesh 08_fbo 11_fractal
16
1701_triangle_SOURCES = 01_triangle.cpp 01_triangle.lolfx
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
21
2202_cube_SOURCES = 02_cube.cpp 02_cube.lolfx
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
26
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
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
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
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
46
Note: See TracBrowser for help on using the repository browser.