summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete commands to delete save pieces in make clean to fix cdo ↵Darshan Shaligram2010-01-091-1/+1
| | | | clean build (Napkin).
* Generate aptitudes.txt as part of the build, remove generated file from repo.Darshan Shaligram2010-01-031-11/+23
|
* makefile: don't check .cflags or *.d files on clean targetsSteven Noonan2010-01-021-0/+5
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: fix build of util/levcomp.*.oSteven Noonan2010-01-021-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: add depfile regeneration ruleSteven Noonan2010-01-021-0/+3
| | | | | | | | Due to earlier changes, this rule is only executed when the .d file exists but it's out-of-date. For initial .d generation, the object compilation rule is executed instead. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: use QUIET_CC when compiling *.m filesSteven Noonan2010-01-021-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: use simpler build rule syntaxSteven Noonan2010-01-021-3/+3
| | | | | | | Bah, we don't even need patsubst at all. Why didn't I read the GNU Make manual before? Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: only include depfiles that existSteven Noonan2010-01-021-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: use patsubst instead of subst for depgenSteven Noonan2010-01-021-3/+3
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: don't generate dependencies for AppHdr.h.gchSteven Noonan2010-01-011-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: greatly simplify dependency generationSteven Noonan2010-01-011-38/+4
| | | | | | I feel ashamed to have overlooked this awesome trick. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: add BUILD_ALL flag to build all contribs into binarySteven Noonan2009-12-041-0/+11
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Don't fail packaging the source if there's no zip.Adam Borowski2009-12-021-1/+6
|
* "make source", same as "make package-source" except for not messing with yacc.Adam Borowski2009-12-021-2/+5
|
* Append a / to absolute DATADIR.Adam Borowski2009-12-011-1/+1
|
* Revert 74685cd9 (except for comments) -- a static build needs to link ↵Adam Borowski2009-11-301-2/+2
| | | | everything.
* Removing zlib from linking against a tiles build.Enne Walker2009-11-261-9/+2
| | | | libpng was the only consumer of zlib, so zlib is no longer needed either.
* Don't link tiles against ncurses nor libpng.Adam Borowski2009-11-261-4/+9
| | | | | | | | | The former is a "duh" case, the latter because Crawl itself doesn't depend on libpng, it's needed by libsdl-image only. Such unneeded dependencies can then result in waste (if all libraries use proper symbol versioning) or crashes (if not) once sdl is rebuilt against a different version of libpng. (Suggestions I'm doing this not to avoid future crashes but merely because Debian tools are screaming at me are evil lies, honest! :þ).
* Install the tiles into a sane place.Adam Borowski2009-11-261-1/+1
|
* Delete .cflags on "make clean".Adam Borowski2009-11-251-1/+1
|
* Properly build when out of git (using packaged source).Adam Borowski2009-11-251-1/+5
|
* Remove unportable hacks from the invocation of tar.Adam Borowski2009-11-251-1/+1
|
* Rename SAVE_PACKAGE_TAR to USE_TAR/USE_ZIP to reduce confusion.Adam Borowski2009-11-251-1/+3
|
* Use tar on Unix for save files, zip is unlikely to be installed.Adam Borowski2009-11-221-0/+3
|
* makefile: Darwin needs SQLite builtSteven Noonan2009-11-201-0/+1
| | | | | | | | | | /usr/include/sqlite3.h isn't the include used when we actually compile, because Mac OS X uses SDK versions. The 10.4 SDK is the default, and its SQLite doesn't have new enough functions. So we force building it. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* A hack to check if system sqlite3 is no good.Adam Borowski2009-11-201-1/+1
|
* Fix detection of system lua/sqliteMatthew Cline2009-11-171-2/+2
| | | | | | | Or at least fix it on my system, where it was falsely detecting the presence of /usr/include/lua5.1 and /usr/include/sqlite3.h. I *think* the fix is valid, since I don't see "$wildcard" defined anywhere, but I haven't tested it with the lua/sqlite devel packages installed.
* Tweak documentation: pkg-config is needed, but it's not Gnome-specific.David Lawrence Ramsey2009-11-171-1/+1
|
* Document that Gnome's pkg-config is needed for the tiles build.Adam Borowski2009-11-171-0/+8
|
* Don't build against contrib lua and sqlite when system libs are available.Adam Borowski2009-11-171-4/+30
| | | | | | On Debian (and probably most others), it's a severity "Important" bug: while not enough to get the package kicked out, this can get the Security Team pretty angry.
* Fix the "depend" target not being always available.Adam Borowski2009-11-171-3/+1
|
* makefile: only do dependency generation on build of $(GAME)Steven Noonan2009-11-141-4/+24
| | | | | | | | | | This is _hardly_ an ideal solution. It would look a lot cleaner than this if you could use a logical OR operator, but Makefile syntax doesn't have such an operator for ifeq/ifneq. But this will resolve the situation for the moment. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: use 'findstring' for target type checksSteven Noonan2009-11-141-3/+3
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* makefile: remove obsolete reference to UNSUPPORTED_BUILD variableSteven Noonan2009-11-141-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Re-do the "make package-source" target.Adam Borowski2009-11-121-32/+22
|
* makefile: make fastdep work with tilesMatthew Cline2009-11-111-1/+1
| | | | fastdep wasn't picking up all tiles dependencies.
* Indent the prefix/DATADIR parts of the makefile.Adam Borowski2009-11-101-19/+20
|
* Fix installation with DATADIR="" DESTDIR="" prefix!=""Adam Borowski2009-11-101-0/+4
|
* Don't chown on DGL builds (Napkin).Adam Borowski2009-11-101-0/+4
|
* Fix b0rken check for $prefix == /usrAdam Borowski2009-11-091-1/+1
|
* Doing distclean together with other things is a losing idea, serialize it.Adam Borowski2009-11-091-6/+12
|
* Don't use /usr/local/games, only /usr/games and /usr/local/bin are in normal ↵Adam Borowski2009-11-091-1/+1
| | | | $PATH.
* Correct permissions on multi-user installs.Adam Borowski2009-11-091-2/+2
|
* Document most commonly used build arguments in a handy place.Adam Borowski2009-11-091-0/+30
|
* Unbreak absolute DATA/SAVEDIRs.Adam Borowski2009-11-091-4/+14
|
* Don't set a $prefix by default. Set DATADIR/SAVEDIR if $prefix is /usr or ↵Adam Borowski2009-11-091-2/+13
| | | | /usr/local
* Special-case $prefix values of /usr and /usr/local to set bin_prefix to "games".Adam Borowski2009-11-091-0/+4
|
* Support $DESTDIR, as needed by distro packaging.Adam Borowski2009-11-091-2/+6
| | | | | | This is different from $prefix, since the latter leaks into the compiled binary, while the former is needed to install to a staging area. Both Debian and Red Hat had to patch this in...
* Kludge around a stray ' for syntax highlighting.Adam Borowski2009-11-091-1/+1
|
* Default bin_prefix to . (the install root) on DOS and Windows.Adam Borowski2009-11-091-0/+4
|