Changeset 1479 for trunk/test/tutorial/Makefile.am
- Timestamp:
- Jun 15, 2012, 1:09:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tutorial/Makefile.am
r1453 r1479 9 9 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \ 10 10 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \ 11 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe) \ 12 $(filter %.lolfx.cpp, $(SOURCES)) 11 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe) 13 12 14 13 SUFFIXES = .lolfx 15 %.lolfx.cpp: %.lolfx 16 echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp17 echo "char const *lolfx_$(notdir $(^:%.lolfx=%)) =" >> $@.tmp18 $(SED) 's/"/\\"/g' $^ | $(SED) 's/\([^\r]*\).*/"\1\\n"/' >> $@.tmp19 echo ";" >> $@.tmp20 mv $@.tmp$@14 .lolfx.o: 15 (echo "char const *"; \ 16 echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \ 17 $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | \ 18 $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \ 19 echo ";") | $(CXXCOMPILE) -xc++ -c - -o $@ 21 20 22 21 noinst_PROGRAMS = 01_triangle 02_cube 03_fractal 23 22 24 01_triangle_SOURCES = 01_triangle.cpp 25 nodist_01_triangle_SOURCES = 01_triangle.lolfx.cpp 23 01_triangle_SOURCES = 01_triangle.cpp 01_triangle.lolfx 26 24 01_triangle_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ 27 25 01_triangle_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ 28 26 01_triangle_DEPENDENCIES = $(top_builddir)/src/liblol.a 29 27 30 02_cube_SOURCES = 02_cube.cpp 31 nodist_02_cube_SOURCES = 02_cube.lolfx.cpp 28 02_cube_SOURCES = 02_cube.cpp 02_cube.lolfx 32 29 02_cube_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ 33 30 02_cube_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ 34 31 02_cube_DEPENDENCIES = $(top_builddir)/src/liblol.a 35 32 36 03_fractal_SOURCES = 03_fractal.cpp 37 nodist_03_fractal_SOURCES = 03_fractal.lolfx.cpp 33 03_fractal_SOURCES = 03_fractal.cpp 03_fractal.lolfx 38 34 03_fractal_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ 39 35 03_fractal_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
Note: See TracChangeset
for help on using the changeset viewer.