Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

42 righe
1.5 KiB

  1. AM_CPPFLAGS = -I$(top_srcdir)/src
  2. all-local: $(noinst_PROGRAMS)
  3. for x in $(noinst_PROGRAMS:%$(EXEEXT)=%); do \
  4. test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
  5. done
  6. CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
  7. $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
  8. $(noinst_PROGRAMS:%$(EXEEXT)=%.exe) \
  9. $(filter %.lolfx.cpp, $(SOURCES))
  10. SUFFIXES = .lolfx
  11. %.lolfx.cpp: %.lolfx
  12. echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp
  13. echo "char const *lolfx_$(notdir $(^:%.lolfx=%)) =" >> $@.tmp
  14. $(SED) 's/"/\\"/g' $^ | $(SED) 's/\([^\r]*\).*/"\1\\n"/' >> $@.tmp
  15. echo ";" >> $@.tmp
  16. mv $@.tmp $@
  17. noinst_PROGRAMS = 01_triangle 02_cube 03_fractal
  18. 01_triangle_SOURCES = 01_triangle.cpp
  19. nodist_01_triangle_SOURCES = 01_triangle.lolfx.cpp
  20. 01_triangle_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  21. 01_triangle_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  22. 01_triangle_DEPENDENCIES = $(top_builddir)/src/liblol.a
  23. 02_cube_SOURCES = 02_cube.cpp
  24. nodist_02_cube_SOURCES = 02_cube.lolfx.cpp
  25. 02_cube_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  26. 02_cube_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  27. 02_cube_DEPENDENCIES = $(top_builddir)/src/liblol.a
  28. 03_fractal_SOURCES = 03_fractal.cpp
  29. nodist_03_fractal_SOURCES = 03_fractal.lolfx.cpp
  30. 03_fractal_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  31. 03_fractal_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  32. 03_fractal_DEPENDENCIES = $(top_builddir)/src/liblol.a