source: trunk/tutorial/Makefile.am @ 1923

Last change on this file since 1923 was 1923, checked in by sam, 7 years ago

build: add a common.am include file and a "make lolcheck" target that does
nothing for now except ensure that every makefile includes 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
15SUFFIXES = .lolfx
16.lolfx.o:
17        $(LOLFX_BUILD)
18
19noinst_PROGRAMS = 01_triangle 02_cube 03_noise 05_easymesh 08_fbo 11_fractal
20
2101_triangle_SOURCES = 01_triangle.cpp 01_triangle.lolfx
2201_triangle_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
2301_triangle_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
2401_triangle_DEPENDENCIES = $(top_builddir)/src/liblol.a
25
2602_cube_SOURCES = 02_cube.cpp 02_cube.lolfx
2702_cube_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
2802_cube_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
2902_cube_DEPENDENCIES = $(top_builddir)/src/liblol.a
30
3103_noise_SOURCES = 03_noise.cpp 03_noise.lolfx
3203_noise_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
3303_noise_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
3403_noise_DEPENDENCIES = $(top_builddir)/src/liblol.a
35
3605_easymesh_SOURCES = 05_easymesh.cpp
3705_easymesh_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
3805_easymesh_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
3905_easymesh_DEPENDENCIES = $(top_builddir)/src/liblol.a
40
4108_fbo_SOURCES = 08_fbo.cpp 08_fbo.lolfx
4208_fbo_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
4308_fbo_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
4408_fbo_DEPENDENCIES = $(top_builddir)/src/liblol.a
45
4611_fractal_SOURCES = 11_fractal.cpp 11_fractal.lolfx
4711_fractal_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
4811_fractal_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
4911_fractal_DEPENDENCIES = $(top_builddir)/src/liblol.a
50
Note: See TracBrowser for help on using the repository browser.