# # File: Makefile.i686 # Author: The SRI DECIPHER (TM) System # Date: Fri Feb 19 22:45:31 PST 1999 # # Description: # Machine dependent compilation options and variable definitions # for Linux/i686 platform # # Copyright (c) 1999-2001 SRI International. All Rights Reserved. # # $Header: /home/srilm/CVS/srilm/common/Makefile.machine.i686-m64,v 1.11 2019/08/14 17:18:37 victor Exp $ # # Use the GNU C compiler. GCC_FLAGS = -march=athlon64 -m64 -Wall -Wno-unused-variable -Wno-uninitialized CC = $(GCC_PATH)gcc $(GCC_FLAGS) -Wimplicit-int CXX = $(GCC_PATH)g++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES # Optional compilation flags. OPTIMIZE_FLAGS = -g -O3 DEBUG_FLAGS = -g -DDEBUG PROFILE_FLAGS = -g -pg -O3 # Optional linking flags. EXPORT_LDFLAGS = -s # Shared compilation flags. CFLAGS = $(ADDITIONAL_CFLAGS) $(INCLUDES) CXXFLAGS = $(ADDITIONAL_CXXFLAGS) $(INCLUDES) # Shared linking flags. LDFLAGS = $(ADDITIONAL_LDFLAGS) -L$(SRILM_LIBDIR) # Other useful compilation flags. # For DynaSpeak, prefer to use -DNO_BLOCK_MALLOC instead of -fopenmp ADDITIONAL_CFLAGS = -fopenmp ADDITIONAL_CXXFLAGS = -fopenmp # Other useful include directories. ADDITIONAL_INCLUDES = # Other useful linking flags. ADDITIONAL_LDFLAGS = # Other useful libraries. SYS_LIBRARIES = -lpthread # run-time linker path flag RLD_FLAG = -R # Tcl support (standard in Linux) TCL_INCLUDE = TCL_LIBRARY = NO_TCL = 1 # No ranlib RANLIB = : # Generate dependencies from source files. GEN_DEP = $(CC) $(CFLAGS) -MM GEN_DEP.cc = $(CXX) $(CXXFLAGS) -MM # Run lint. LINT = lint LINT_FLAGS = -DDEBUG $(CFLAGS) # Location of gawk binary GAWK = /usr/bin/awk