You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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