Commit Graph

81 Commits (08727614fcc6940ebd77a94a3dfd8b7897587c7a)

Author SHA1 Message Date
tron b85925cbae (svn r1672) Simplify dependency tracking and actually implement it for C++ files, too.
Note: Do "make clean" to get rid of the old dependency files
20 years ago
tron fd8c74c83c (svn r1671) Remove WARNING_DISPLAY, because it contained no warning, but an optimization flag 20 years ago
tron 63fdd4d6be (svn r1670) Garbage collect some variables, because they are only used once and hide magic, like containing -o where a filename must be the next parameter 20 years ago
tron 489f68a083 (svn r1669) Rename all ttd_XXX to just XXX, because we already know who we are (; 20 years ago
tron de64977957 (svn r1666) Move some MorphOS compile flags to a place where they actually belong 20 years ago
tron c340be487b (svn r1665) Remove VERBOSE flag, because it was only partially implemented
Add "info" target instead, which prints out some relevant variables used in the Makefile
20 years ago
bjarni ac148b1dec (svn r1664) Makefile: removed the forced 0.3.6 version tag 20 years ago
bjarni 2ff0cbdd54 (svn r1661) Makefile: added scenario to make install 20 years ago
bjarni d667447ef0 (svn r1659) Makefile: added scenario to mac and MorphOS release scripts 20 years ago
bjarni d1536c8f09 (svn r1649) Makefile: added known-bugs.txt to mac and MorphOS release scripts and made a really dirty hack to force 0.3.6 on binary files compiled with this makefile 20 years ago
tron 29a7e054e1 (svn r1647) Remove stale comment and fix typo 20 years ago
tron bd4213c12f (svn r1620) Fix typo in r1619 20 years ago
tron 4058e62b75 (svn r1619) Fight bit rot in the Makefile:
- Begin all echos with ===> to visually emphasise them
- Add @ to suppress printing of commands where it was missing
- Add echos to rules where none were 
- Rephrase some existing echos
- Remove VERBOSE_FILTER, because piping errors to /dev/null is ... a bad idea
20 years ago
tron 1cd455b8be (svn r1616) Introduce ttd_strlcat() and use it to de-uglify some piece of code in misc_cmd.
While here rename the len parameter of ttd_strlcpy() to size, because it is a buffer size and not a string length.
Also add -Wwrite-strings to the Makefile, because the above mentioned piece of code was the only part which triggered this warning.
20 years ago
bjarni 10ebe309b3 (svn r1600) Mac: applied the new icon to the mac binary file 20 years ago
tron 94d5aeabb2 (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile 20 years ago
tron d419f9b2f0 (svn r1570) Make the gcc version test work with old versions of test (i.e. don't use the < operator) 20 years ago
tron c268425885 (svn r1553) Check which gcc version is present and only set availible compiler flags 20 years ago
tron c44594c3fa (svn r1552) Make ottd compile on Zeta 20 years ago
bjarni 56b567cf6c (svn r1530) Makefilefix: now the binary never links to SDL if DEDICATED is set. Thanks to igor2code for making me aware of this issue even through I fixed it in a different way than his patch did. (I made dedicated never link to sdl, nomatter what makefile.config says) 20 years ago
truelight 97dd511971 (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
dynamic arrays
20 years ago
celestar b71af73c00 (svn r1474) Added some gcc flags in the Makefile 20 years ago
tron 54e955464b (svn r1470) Revert r1457, this warning option was introduced with gcc 3.4 20 years ago
tron e661657d0c (svn r1457) Make Darvater happy: -Wdeclaration-after-statement 20 years ago
darkvater 55604e354f (svn r1449) -Fix: signed/unsigned error on windows
-Change: Makefile added -Wsign-compare flag
20 years ago
truelight 6d502ff715 (svn r1432) -Fix: I seem to be unable to revert a simple file :s 20 years ago
truelight 6288f7f00a (svn r1431) -Fix: oeps, I added my personal Makefile in the last commit :( 20 years ago
bjarni cd6691dbec (svn r1274) Makefile: networking is not longer experimental 20 years ago
darkvater 0fcc58b8eb (svn r1268) -Fix: some warnings in gfx.c fixed
-Fix: Makefile now correctly works for cygwin/mingw; altough defining only cygwin does not compile the game
-Fix: moved SDL information message from severity 0 to 1. Only errors/severe warnings should be level 0
20 years ago
bjarni a92dc63ec9 (svn r1236) MorphOS: added make release like in OSX (tokai)
MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
20 years ago
truelight 0e82e6217d (svn r1182) -Fix: Makefile had a small glitch, making it impossible to compile the game (Oskar_) 20 years ago
bjarni 288cb7b439 (svn r1180) Makefile: fixed dependancies so the flag -j can be used. It makes the compilation process into more than one job which makes it able to benefit from multiple CPUs. Using -j without setting a limit of jobs (like -j2) is not a great idea (thanks to ln-- for reporting the need for this one) 20 years ago
tron a148ff4e0d (svn r1117) Move map arrays and some related macros into their own files map.c and map.h 20 years ago
tron 09ac95dea2 (svn r1115) Put every source file on an extra line 20 years ago
bjarni a346f7cb54 (svn r1039) Makefile: now RELEASE flag can contain () too 20 years ago
bjarni 43e7cfea02 (svn r1034) Makefile: fixed issue where it would not compile if RELEASE string contained space. Did the same fix to OSXAPP, just in case it's changed to something containing space at a later date 20 years ago
truelight b50b664f36 (svn r1026) -Add: [Network] Added unique id, so in network, each client has an
unique id (generated via md5)
20 years ago
bjarni 57932f1eb5 (svn r1011) Makefile, mac: added absolute path to hdiutil (default location) to fix the path issues when building nightly builds with a cronjob 20 years ago
bjarni 3caecf7089 (svn r1010) Makefile: removed the outdated remove of ttd binary from make clean (should only be a check for openttd binary)
Tron forgot to credit Celestar for last commit (rev 1009)
20 years ago
bjarni 1130dec32f (svn r1003) Mac: reintroduced the static libpng hack in makefile since it appears to be needed in the nightly builds 20 years ago
bjarni 515e33c414 (svn r1000) Makefile: added check for static build releases on mac. Most users can't use a dynamic build 20 years ago
bjarni 1fcb7b480e (svn r985) Makefile: repaired issue in make release (OSX) 20 years ago
bjarni b043d3e567 (svn r980) Fixed issues where MorphOS would get problems if AmigaOS would get a port, since MorphOS also have the flag __AMIGA__ defined (Tokai) 20 years ago
bjarni 948b3747f6 (svn r974) Makefile: fixed issue in make release and nightly_build, which caused failures if RELEASE contained spaces 20 years ago
bjarni 46e6a08107 (svn r973) Makefile: added make nightly_build (only on mac) 20 years ago
bjarni 3c7e16f80b (svn r972) Makefile: added make release (currently only works on mac)
Mac: sets the STATIC flag if no makefile.config is found
20 years ago
bjarni 155c9d235f (svn r970) Added 2nd data path for all non-windows OSes
added completely customizable lang path (all non-Windows OSes)
20 years ago
bjarni 5069e98221 (svn r951) Makefile: fixed missing flag for libpng, which prevented lib detection if SDL was not used
Makefile: Combined the OSX specific libpng code with the general one. Now OSX have no special code for libpng
20 years ago
bjarni 477bee544d (svn r949) Makefile: added DEDICATED flag to allow complilation of dedicated servers without linking to SDL. Request by Jezral 20 years ago
truelight d6a1f3e412 (svn r942) -Merged branch/network back into the trunk 20 years ago