Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Makefile.am 2.0 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. SUBDIRS = src test tools gfx
  2. SUBDIRS += deushax
  3. SUBDIRS += monsterz
  4. SUBDIRS += mrpigeon
  5. DIST_SUBDIRS = $(SUBDIRS)
  6. EXTRA_DIST = bootstrap build-linux build-mingw build-mingw64 build-ps3 \
  7. build-nacl32 build-nacl64 build/lol-build
  8. AUTOMAKE_OPTIONS = dist-bzip2
  9. bench:
  10. cd test && $(MAKE) $(AM_MAKEFLAGS) $@
  11. .PHONY: bench
  12. dist: lolunit-$(LOLUNIT_VERSION).tar.gz
  13. dist: lolremez-$(LOLREMEZ_VERSION).tar.gz
  14. .PHONY: lolunit-$(LOLUNIT_VERSION).tar.gz
  15. lolunit-$(LOLUNIT_VERSION).tar.gz:
  16. rm -rf lolunit-$(LOLUNIT_VERSION)
  17. mkdir lolunit-$(LOLUNIT_VERSION)
  18. mkdir lolunit-$(LOLUNIT_VERSION)/lol
  19. cp $(top_srcdir)/src/lol/unit.h lolunit-$(LOLUNIT_VERSION)/lol
  20. tar cvzf lolunit-$(LOLUNIT_VERSION).tar.gz lolunit-$(LOLUNIT_VERSION)
  21. rm -rf lolunit-$(LOLUNIT_VERSION)
  22. .PHONY: lolremez-$(LOLREMEZ_VERSION).tar.gz
  23. lolremez-$(LOLREMEZ_VERSION).tar.gz:
  24. rm -rf lolremez-$(LOLREMEZ_VERSION)
  25. mkdir lolremez-$(LOLREMEZ_VERSION)
  26. mkdir lolremez-$(LOLREMEZ_VERSION)/lol
  27. mkdir lolremez-$(LOLREMEZ_VERSION)/lol/math
  28. cat $(top_srcdir)/test/math/remez.cpp | sed '/#if/,/^$$/d' > \
  29. lolremez-$(LOLREMEZ_VERSION)/remez.cpp
  30. cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' | sed '/#if/,/^$$/d' > \
  31. lolremez-$(LOLREMEZ_VERSION)/real.cpp
  32. cp $(top_srcdir)/test/math/NEWS.txt \
  33. $(top_srcdir)/test/math/lolremez.sln \
  34. $(top_srcdir)/test/math/remez.vcxproj \
  35. $(top_srcdir)/test/math/remez.vcxproj.filters \
  36. lolremez-$(LOLREMEZ_VERSION)/
  37. cp $(top_srcdir)/src/lol/math/real.h \
  38. $(top_srcdir)/src/lol/math/matrix.h \
  39. $(top_srcdir)/src/lol/math/remez.h \
  40. lolremez-$(LOLREMEZ_VERSION)/lol/math/
  41. printf 'remez: real.cpp remez.cpp\n' > lolremez-$(LOLREMEZ_VERSION)/Makefile
  42. printf '\t$$(CXX) -I. -O2 -g -ggdb $$^ -o $$@\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile
  43. printf 'clean:\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile
  44. printf '\trm -f remez\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile
  45. tar cvzf lolremez-$(LOLREMEZ_VERSION).tar.gz lolremez-$(LOLREMEZ_VERSION)
  46. rm -rf lolremez-$(LOLREMEZ_VERSION)