Advertisement
Guest User

Untitled

a guest
Mar 17th, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 2.97 KB | None | 0 0
  1. #
  2. # to compile:
  3. # copy this file to config.default and adjust the settings
  4. #
  5.  
  6. #BACKEND = allegro
  7. #BACKEND = gdi
  8. BACKEND = opengl
  9. #BACKEND = sdl
  10. #BACKEND = sdl2
  11. #BACKEND = mixer_sdl
  12. #BACKEND = posix
  13.  
  14. #COLOUR_DEPTH = 0
  15. COLOUR_DEPTH = 16
  16.  
  17. #OSTYPE = amiga
  18. #OSTYPE = beos
  19. #OSTYPE = cygwin
  20. #OSTYPE = freebsd
  21. #OSTYPE = haiku
  22. OSTYPE = linux
  23. #OSTYPE = mingw
  24. #OSTYPE = mac
  25.  
  26. DEBUG = 1    # Level 1-3, higher number means more debug-friendly, see Makefile
  27. #OPTIMISE = 1 # Add umpteen optimisation flags
  28. #PROFILE = 1  # Enable profiling
  29. #PROFILE = 2  # Enable profiling with optimisation flags, can be used with `OPTIMISE = 1'
  30.  
  31. WITH_REVISION = 1 # adds the revision from Github; required for networkgames
  32. # if you do not use SVN, add -DREVISION="1234" to the FLAGS below
  33.  
  34. #WIN32_CONSOLE = 1 # adds a console for windows debugging
  35.  
  36. MULTI_THREAD = 1 # Enable multithreading
  37.  
  38. # Define these as empty strings, if you don't have the respective config program
  39. #ALLEGRO_CONFIG = allegro-config
  40. #PNG_CONFIG     = pkg-config libpng
  41. #SDL_CONFIG     = sdl-config
  42. #SDL2_CONFIG    = sdl2-config
  43.  
  44. #VERBOSE = 1
  45.  
  46. # The following useful conditional compilation flags exist
  47. #
  48. # Needed to compile:
  49. # USE_C: no assembler for copying (required for not using GCC on x86)
  50. # SIM_BIG_ENDIAN: MUST be set for PPC/Motorola byte order! (old mac, amiga)
  51. # NO_INTPTR_T: must be set if intptr_t is not available
  52. #
  53. # Changing appearance:
  54. # USE_SOFTPOINTER: emulate mouse pointer (set automatically in Makefile)
  55. #
  56. # Useful for debugging:
  57. # DEBUG_ROUTES: show routing calculation information in minimap
  58. # SHOW_FORE_GRUND: show which objects are drawn as foreground
  59. # DEBUG_FLUSH_BUFFER: show the dirty areas on the screen
  60. # USE_VALGRIND_MEMCHECK: make valgrind-memcheck aware of the memory allocation stuff in dataobj/freelist
  61. # SYSLOG: send debug output to syslog
  62. #
  63. # Following flags alter game engine (and are off for standard builds)
  64. # OTTD_LIKE: Enables half height tiles and crossconnects all industries
  65. # AUTOMATIC_BRIDGES and AUTOMATIC_TUNNELS: will be built also for player
  66. # AUTOJOIN_PUBLIC: stations next to a public stop will be joined to it
  67. # USE_DIFFERENT_WIND: different airplane approach directions over the map
  68. # DESTINATION_CITYCARS: Citycars can have a destination (enabled automatically - cannot be disabled)
  69. #
  70. # In order to use the flags, add a line like this: (-Dxxx)
  71. # FLAGS = -DUSE_C
  72. # The above flag is recommended for speed on modern CPUs: see http://forum.simutrans.com/index.php?topic=16773.msg159658#msg159658
  73.  
  74. # Output directories:
  75. #
  76. # use this put objects file in same directory, where the sources are (not recommended):
  77. # ... otherwise defaults to 'build/default')
  78. #
  79. # BUILDDIR = $(shell pwd)
  80. #
  81. # use this to specifiy the target directory for the executable:
  82. # .. otherwise defaults to BUILDDIR
  83. #
  84. # MAKEOBJ_PROGDIR = $(shell pwd)
  85. # NETTOOL_PROGDIR = $(shell pwd)
  86. # PROGDIR  = $(shell pwd)
  87.  
  88. FLAGS = -DUSE_C -fno-delete-null-pointer-checks -fno-strict-aliasing -USE_C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement