| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
The build.h and compflag.h files stayed around regardless of
whether or not they were dependencies of the .INTERMEDIATE
pseudo-target. This led to stale headers.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
Some platforms broke because they used /bin/sh, which doesn't have
the '-n' parameter for 'echo'.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of
defined(WIN32CONSOLE)
we should use:
defined(TARGET_OS_WINDOWS) && !defined(USE_TILE)
As well as replace
defined(WIN32TILES)
with:
defined(TARGET_OS_WINDOWS) && defined(USE_TILE)
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
| |
This assists both distcc and ccache in doing their jobs properly.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
| |
|
|\
| |
| |
| | |
ssh://zelgadis@crawl-ref.git.sourceforge.net/gitroot/crawl-ref/crawl-ref
|
| |
| |
| |
| |
| |
| |
| |
| | |
It's not necessary, because the compflag.h header will never exist, because
the makefile has it marked as an .INTERMEDIATE, which means it's deleted
automatically if the build is cancelled or finishes.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|/
|
|
|
| |
Split makefile variable EXTERNAL_FLAGS into EXTERNAL_FLAGS_L and
EXTERNAL_FLAGS, which apply to CFOTHERS_L and CFOTHERS respectively.
|
|
|
|
|
|
|
|
|
|
| |
The Version namespace now provides the compiler which was used, the OS,
machine type and processor type the compilation was done on, and the
CFLAGS, CFLAGS_L and LDFLAGS which were used. If GCC was the compiler,
it also provides the compiler version.
This information is included in crash reports, and can be dumped using
the new command line option "-version".
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
| |
Setting the makefile variable AUTO_OPT_GCC will give GCC a list of
optimization flags suited for the machine make is run on. It does this
using util/auto-opt.sh. "-march=native -mtune=native" are always
outputted, which causes GCC to detect the CPU type you use and generate
code for that. On Linux systems it also looks at the flags line of
/proc/cpuinfo to pick x86 optimization flags.
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
The Cygwin section might not be entirely accurate yet (and I haven't personally
verified the DOS instructions), but most of this is now correct.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
| |
Incredibly hairy to get this to work, largely because MinGW's GCC
is picky about the link order, among other things.
But now we have a working build!
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
| |
Added clean target for pcre "clean-pcre", and a target to clean out all
contrib subdirs, "clean-contrib"
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
GCC versions less than 4.3.0 had a compiler error because
the -Wno-array-bounds flag wasn't valid.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
| |
attribute warn_unused_result" warnings
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
They're pretty much never accurate, and they're hard to avoid because
of how they're raised.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
| |
Not sure how this slipped through the cracks...
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was occasionally possible that levcomp.lex.cc was compiled
before levcomp.tab.cc was generated, causing this build error:
YACC levcomp.tab.c
LEX levcomp.lex.cc
CXX util/levcomp.lex.o
levcomp.lpp:13:25: error: levcomp.tab.h: No such file or directory
CXX util/levcomp.tab.o
levcomp.lpp: In function 'void clean()':
Adding levcomp.tab.cc as a dependency of levcomp.lex.cc fixes
the issue.
Reported-by: Robert Vollmert <rvollmert@gmx.net>
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
| |
* Add variable EXTERNAL_FLAGS, for setting compiler flags from the
make command line. Trying to do this with EXTRA_FLAGS clobbers
the makefile's changes to EXTRA_FLAGS, like adding "-ggdb".
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
I intended to set up some good defaults, and unfortunately added
ones that would break on non-Intel machines. Whoops.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|