An emacs module for doing fuzzy filtering of a list
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

58 lines
1.3 KiB

# Building Tests:
# jam clean
# jam -j4 -q
# (if building the same target repeatedly, don't clean, if that wasn't obvious)
##
## Compiler
##
CC = gcc ;
LINK = gcc ;
LINKFLAGS = -shared ;
if $(UNIX) { SUFSHR = .so ; }
else if $(NT) { SUFSHR = .dll ; }
##
## Compiler arguments
##
# Arguments used on all projects, regardless of any variables
CCFLAGS = -ggdb3 -Wall -fPIC ;
KEEPOBJS = true ; # This doesn't actually fix anything, though it seems like it should
NOARSCAN = true ; # This actually fixes the problem
#AR = ar rUu ; # I was thinking maybe the AR command was wrong (always outputting deterministically)
# It doesn't seem like this is the problem though
AR = ar cr ;
OPTIM = -O0 ;
if $(EMACS_SRC_DIR)
{
HDRS = . $(EMACS_SRC_DIR) ;
}
else
{
HDRS = . ../../3rdParty/repositories/emacs/src ;
}
# E.g.
# jam -j4 -q -sCROSS_COMPILE_WINDOWS=true
if $(CROSS_COMPILE_WINDOWS)
{
CC = x86_64-w64-mingw32-gcc ;
LINK = x86_64-w64-mingw32-gcc ;
AR = x86_64-w64-mingw32-ar ;
SUFSHR = .dll ;
}
# Some helpful Jam commands
# -q : stop on failed target
# -jN : use N cores
# -sVAR=VAL : Set VAR to VAL. Note that setting WINDOWS=false is the same as setting UNREAL=true,
# frustratingly
# -dx : print commands being used
# -n : don't actually run commands