Makefile 659 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. GENERATE_BINDINGS = no
  2. HEADERS = godot-headers
  3. TARGET = debug
  4. USE_CLANG = no
  5. BASE = scons use_llvm=$(USE_CLANG) generate_bindings=$(GENERATE_BINDINGS) target=$(TARGET) headers=$(HEADERS)
  6. LINUX = $(BASE) platform=linux
  7. WINDOWS = $(BASE) platform=windows
  8. OSX = $(BASE) platform=osx
  9. all:
  10. make linux
  11. make windows
  12. linux:
  13. make linux32
  14. make linux64
  15. linux32: SConstruct
  16. $(LINUX) bits=32
  17. linux64: SConstruct
  18. $(LINUX) bits=64
  19. windows:
  20. make windows32
  21. make windows64
  22. windows32: SConstruct
  23. $(WINDOWS) bits=32
  24. windows64: SConstruct
  25. $(WINDOWS) bits=64
  26. osx:
  27. make osx32
  28. make osx64
  29. osx32: SConstruct
  30. $(OSX) bits=32
  31. osx64: SConstruct
  32. $(OSX) bits=64