summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* travis configurationtravisJesse Luehrs2014-08-171-1/+1
|
* Don't link against both contrib and system libpcre.Neil Moore2014-07-131-5/+5
| | | | This broke CDO builds.
* Only use the contrib lib and include directory if building contribs.Neil Moore2014-07-121-12/+16
| | | | At least some linkers complain about nonexistent -L directories.
* Only define EXPERIMENTAL_BRANCH for USE_DGAMELAUNCH builds.Neil Moore2014-07-111-2/+2
| | | | | This way we don't force a full rebuild when switching branches, unless it is necessary for online logfiles.
* Eye of draining title screen (Peileppe/Bloax, 8645)ontoclasm2014-06-171-1/+2
|
* AppHdr.h: Adjust PRINTF macro for use with mingw-w64John Olender2014-06-081-1/+1
| | | | | | | | | | | | | | | | | When __attribute__((format(printf...)) is used, as is the case with AppHdr.h's PRINTF macro, mingw-w64 uses the standard windows printf implementation by default. The stdio library provided by windows is typically *not* C99-compliant. Since crawl uses C99-style PRINTF calls, many warnings are printed during compilation. This patch guarantees that, if available, a C99-style printf will be used for both format checking and actual compiled calls under mingw-w64. If the C99-specific printf macro is not set by including stdio.h (e.g., mingw32 is being used), the standard printf call for format is used. [Committer's note: also included the fix-up patch "Makefile: Pass the correct mingw C99 stdio define."]
* Allow using Luajit on 64-bit systems (#8641)Neil Moore2014-06-041-0/+4
| | | | | | | 64-bit luajit doesn't support lua_newstate or custom allocators, so don't try to use one there. However, give a warning if this happens with a webtiles or dgamelaunch build, because servers probably do want the memory throttling.
* Only set COPY_FONTS when building tiles (geekosaur).Neil Moore2014-05-311-2/+2
| | | | We only use it inside an ifdef TILES, so this has no real effect.
* Allow make FORCE_CXX=clang++ FORCE_CC=clangNeil Moore2014-05-311-0/+9
| | | | | | | This avoids our custom compiler version selection for all but crosshosted builds. Use at your own peril, as using a short compiler name evades some of our Makefile's detection of changed architectures etc.
* On experimental branches, log explbr=branchname.Darshan Shaligram2014-05-051-0/+7
| | | | | Set EXPERIMENTAL_BRANCH and log explbr to logfile and milestones on experimental branches.
* Don't remind online trunk players about the tournament.Neil Moore2014-04-271-1/+1
| | | | This reverts commit cf478558721339450fdde19ecc78e95896f0ff91.
* Make compilation work on Fedora 20 with the distribution lua.Florian Diebold2014-04-261-6/+10
| | | | | In Fedora 20, lua 5.1 is in the compat-lua package and is called lua-5.1 in pkg-config.
* Remind online trunk players about the tournament.Steve Melenchuk2014-04-111-1/+1
| | | | See also a348a51, which is this for the last tournament.
* Splash screens (baconkid, by way of khalil)ontoclasm2014-03-271-1/+1
|
* Allow building against the system libpcre.Neil Moore2014-02-231-0/+4
| | | | | Building with USE_PCRE=y enables and links against the PCRE regexp engine without building libpcre as a contrib.
* Use -isystem instead of -I for (what should be) system librariesSamuel Bronson2013-12-311-8/+8
| | | | | | | | | | | This includes contribs. We don't do this for system sqlite, though, since that's expected to be either in /usr/include et al or from contribs, and explicitly passing "-isystem /usr/include" screws up the include path ordering. (Instead, we drop the -I flag for sqlite entirely. If it turns out to be needed somewhere, the comments were wrong ...)
* Start using -Wredundant-decls; fix all the instances I getSamuel Bronson2013-12-121-0/+1
| | | | | That is, unless you count the ones in ncurses' headers, which I can't do anything except suppress.
* New title screen featuring Roxanne (Psiweapon, #7832)Neil Moore2013-12-081-1/+2
|
* Enable pooryurik_knight title screen too.Neil Moore2013-12-011-1/+1
| | | | | | | Unlike the others, it was intentionally not enabled (see 0.12-a0-273-g5c8ac43), but since do-it-yourself trunk players have been seeing it for a while anyway, I think there's no point to keeping it disabled.
* Enable several splash screens accidentally omitted from builds.Neil Moore2013-12-011-1/+3
| | | | | You already saw them if you played from your build directory, so many of us thought they were already enabled.
* Replace `mpr(s, ch)` with `mprf(ch, s)`Adam Borowski2013-11-291-0/+1
| | | | | | | | | Also simplify quite a few cases. It turns out in >90% cases of non-literals the argument had .c_str(), which meant it was pointlessly malloc()ed and converted from and to std::string. I believe a sprintf is faster, so even the argument of miniscule speed-up doesn't apply.
* Hopefully work around recent mingw linking libwinpthread-1.dll dynamically.Adam Borowski2013-11-251-2/+2
|
* Make the .o files depend on the PCH where relevant.Samuel Bronson2013-11-101-2/+2
| | | | I'm surprised I didn't notice this before now ...
* Show HOSTCC of fake_pty nicer.Adam Borowski2013-11-021-1/+2
|
* Don't install transifex files.Raphael Langella2013-10-311-1/+8
|
* End the tournament.Neil Moore2013-10-271-1/+1
|
* Remind online trunk players about the tournament.Neil Moore2013-10-111-1/+1
| | | | | If you run a dgamelaunch crawl server that isn't participating in the tournament, use make EXTERNAL_DEFINES=-UTOURNEY
* Revert "Run dwz over the binary ..."; dwz insists on ELF binaries :-(Samuel Bronson2013-10-101-5/+0
| | | | This reverts commit 062f7eb415bf83ff65dd16cf75ec8d66c86d4895.
* Run dwz over the binary when available to save spaceSamuel Bronson2013-10-101-0/+5
| | | | | This almost cut my binary in half (something like 70MB -> 40MB). That's about 30MB less DWARF, and will probably make GDB happy.
* Fix Mac universal builds.Neil Moore2013-09-141-2/+4
| | | | | | | Turn off inline depgen, and furthermore don't build tilegen etc as universal binaries. This still doesn't work on ppc, because we hardcode i386 :(
* Disable compiler optimization on Apple's gcc altogether.Adam Borowski2013-09-071-1/+1
| | | | Not even -O1 works well enough.
* Display monster spells and magical abilities with x-vcjo2013-08-241-2/+2
| | | | | | Decrease the need for spoilers by showing monster spells and magical abilities when examining a monster with the command x-v. If monsters have multiple possible spellbooks, all of them are listed.
* Use gold instead of bfd if possible.Adam Borowski2013-08-051-0/+4
| | | | | | | | | | | | In Debian, gold used to be the default linker when both were installed; after a recent upload of binutils this is no more. That's a big regression, as bfd is slower by a factor of 3-4 in most cases, and over 80 times when bfd's massive memory use makes it hit the swap. On the other hand, gold is now installed in the base binutils package, and can be switched to with -fuse-ld=gold. That's said to be the "upstream default". This syntax is not recognized by older gcc nor clang and thus has to be detected on runtime.
* Make "make test" work around a severe race condition wrt --builddb.Adam Borowski2013-07-061-1/+6
| | | | | | | It can happen on actual servers, too -- if two players start their games at the same time, being the first after an upgrade. The time window is fortunately small enough so it didn't happen yet; make -j triggers the failure apparently every time, though.
* Purge some obsolete transifex config.Raphael Langella2013-07-041-1/+1
| | | | Those are not generated from the Makefile anymore.
* Let LTO=y support clang.Adam Borowski2013-06-241-4/+10
| | | | | | | | | Beware, I haven't seen a single successful build yet. Versions of clang prior to 3.3, including 3.3 without a recent patch, fail early, while current 3.3 swapped for hours before OOMing (8GB ram + 6GB swap). In comparison, gcc-4.7 on 256MB raspi swaps for 124 minutes before succeeding. But hey, it's still a step forward.
* Remove the tournament warning.Neil Moore2013-05-261-1/+1
|
* Revert "Don't rebuild everything when PCH is rebuilt due to external code."Samuel Bronson2013-05-241-5/+2
| | | | This reverts commit 097fc10deed31e0fb79ab467885264b653519cb3.
* Don't rebuild everything when PCH is rebuilt due to external code.Samuel Bronson2013-05-241-2/+5
| | | | Warning: PCH users who don't use ccache may need to "make clean".
* Make PCH depend on system headers in future, to ensure freshnessSamuel Bronson2013-05-241-1/+3
| | | | | Without this, we're liable to try mixing the ghost of old headers with new headers, which can go pretty badly.
* Fix $(GXX) being used before it is defined in some cases.Adam Borowski2013-05-211-21/+21
| | | | | Even though late-bound variables are supposed to be substituted only at use time, this is not always the case when conditionals are around.
* Default to -O1 on gcc-4.2.Adam Borowski2013-05-211-5/+8
| | | | | | | | Untested, as I have no access to a Mac. I also know no reliable way to catch all Mac build environments, so this hurts innocent fixed versions of gcc-4.2 elsewhere, but I don't think anyone cares.
* Handle single-quotes and whitespace in CFLAGS difference check.Samuel Bronson2013-05-141-2/+5
| | | | | | | | | | This will probably miss changes in the number of consequtive spaces used in (say) -D flags, but it does put an end to the full rebuilds we've been having since probably 0.13-a0-692-g87817ed (though these would presumably also have gone away after the tournament ended). I'm a bit puzzled about how the whitespace difference came about, though ...
* Give debug output after the "new build flags or prefix" messageSamuel Bronson2013-05-141-0/+2
|
* Fix DGL compilation.Neil Moore2013-05-101-1/+1
| | | | Oops.
* Remind online trunk players about the tournament.Neil Moore2013-05-101-1/+1
| | | | | If you run a dgamelaunch crawl server that isn't participating in the tournament, use make EXTERNAL_DEFINES=-UTOURNEY
* Specify C++ when testing for warning flags.Neil Moore2013-04-071-2/+2
| | | | | Because -E - doesn't know it's C++, and old gcc supported -Wmissing-declarations in C but not C++.
* Check that -Wmissing-declarations doesn't fail before using itSamuel Bronson2013-04-071-1/+2
|
* Add -Wmissing-declarations to our default CFWARN flags.Samuel Bronson2013-04-061-1/+1
| | | | | | This should help us spot unintentionally global functions, old unused functions, and .cc files where we forgot to #include the corresponding header.
* Whoops, don't make art-data rebuild every time.Samuel Bronson2013-04-051-4/+3
| | | | I guess I forgot how phony targets work :-(.