您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Makefile.am 1.5 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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