No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

Makefile.am 2.0 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. include $(top_srcdir)/build/autotools/common.am
  2. # Put "people" at the end because they're more likely to break builds.
  3. SUBDIRS = build src tutorial test tools games people
  4. DIST_SUBDIRS = $(SUBDIRS) binaries
  5. EXTRA_DIST = bootstrap TODO
  6. AUTOMAKE_OPTIONS = dist-bzip2
  7. ACLOCAL_AMFLAGS = -I build/autotools/m4
  8. check: lolcheck
  9. dist: lolunit-$(LOLUNIT_VERSION).tar.gz
  10. dist: lolremez-$(LOLREMEZ_VERSION).tar.gz
  11. .PHONY: lolunit-$(LOLUNIT_VERSION).tar.gz
  12. lolunit-$(LOLUNIT_VERSION).tar.gz:
  13. rm -rf lolunit-$(LOLUNIT_VERSION)
  14. mkdir lolunit-$(LOLUNIT_VERSION)
  15. mkdir lolunit-$(LOLUNIT_VERSION)/lol
  16. cp $(top_srcdir)/src/lol/unit.h lolunit-$(LOLUNIT_VERSION)/lol
  17. tar cvzf lolunit-$(LOLUNIT_VERSION).tar.gz lolunit-$(LOLUNIT_VERSION)
  18. rm -rf lolunit-$(LOLUNIT_VERSION)
  19. .PHONY: lolremez-$(LOLREMEZ_VERSION).tar.gz
  20. lolremez-$(LOLREMEZ_VERSION).tar.gz:
  21. rm -rf lolremez-$(LOLREMEZ_VERSION)
  22. mkdir lolremez-$(LOLREMEZ_VERSION)
  23. mkdir lolremez-$(LOLREMEZ_VERSION)/lol
  24. mkdir lolremez-$(LOLREMEZ_VERSION)/lol/math
  25. cat $(top_srcdir)/test/math/remez.cpp | sed '/#if/,/^$$/d' > \
  26. lolremez-$(LOLREMEZ_VERSION)/remez.cpp
  27. cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' | sed '/#if/,/^$$/d' > \
  28. lolremez-$(LOLREMEZ_VERSION)/real.cpp
  29. cp $(top_srcdir)/test/math/NEWS.txt \
  30. $(top_srcdir)/test/math/lolremez.sln \
  31. $(top_srcdir)/test/math/remez.vcxproj \
  32. $(top_srcdir)/test/math/remez.vcxproj.filters \
  33. lolremez-$(LOLREMEZ_VERSION)/
  34. cp $(top_srcdir)/src/lol/math/real.h \
  35. $(top_srcdir)/src/lol/math/vector.h \
  36. $(top_srcdir)/src/lol/math/remez.h \
  37. lolremez-$(LOLREMEZ_VERSION)/lol/math/
  38. printf 'remez: real.cpp remez.cpp\n' > lolremez-$(LOLREMEZ_VERSION)/Makefile
  39. printf '\t$$(CXX) -I. -O2 -g -ggdb $$^ -o $$@\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile
  40. printf 'clean:\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile
  41. printf '\trm -f remez\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile
  42. tar cvzf lolremez-$(LOLREMEZ_VERSION).tar.gz lolremez-$(LOLREMEZ_VERSION)
  43. rm -rf lolremez-$(LOLREMEZ_VERSION)