|
-
- AM_CPPFLAGS = -I$(top_srcdir)/src
-
- all-local: $(noinst_PROGRAMS)
- for x in $(noinst_PROGRAMS:%$(EXEEXT)=%); do \
- test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
- done
-
- CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
- $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
- $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
-
- SUFFIXES = .lolfx
- .lolfx.o:
- (echo "char const *"; \
- echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \
- $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | \
- $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \
- echo ";") | $(CXXCOMPILE) -xc++ -c - -o $@
-
- noinst_PROGRAMS = 01_triangle 02_cube 11_fractal
-
- 01_triangle_SOURCES = 01_triangle.cpp 01_triangle.lolfx
- 01_triangle_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
- 01_triangle_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
- 01_triangle_DEPENDENCIES = $(top_builddir)/src/liblol.a
-
- 02_cube_SOURCES = 02_cube.cpp 02_cube.lolfx
- 02_cube_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
- 02_cube_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
- 02_cube_DEPENDENCIES = $(top_builddir)/src/liblol.a
-
- 11_fractal_SOURCES = 11_fractal.cpp 11_fractal.lolfx
- 11_fractal_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
- 11_fractal_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
- 11_fractal_DEPENDENCIES = $(top_builddir)/src/liblol.a
|