Tesi Robotica Algoritmi ed architetture per la risoluzione di... | Page 107
107
endif
64
69
# whether using Release or Debug LLVM build
ifndef LLVM_BUILD
LLVM_BUILD = Release+Asserts
# LLVM_BUILD = Debug+Asserts
endif
# path to front-end, such as llvm-gcc, clang or llvm-g++
ifndef FRONT_END
FRONT_END = clang
endif
74
# prefix of mipsel gcc
MIPS_PREFIX = $(LEVEL)/../mips-binutils/bin/mipsel-elf-
79
# use oldtestmips if using gxemul 0.6, testmips if using gxemul 0.4.7.2
ifndef GXEMUL_OPT
GXEMUL_OPT = oldtestmips
endif
# make sure for loops fail properly in the makefile
SHELL := /bin/bash -e
84
89
94
ifndef EXPECT
EXPECT := /usr/bin/expect
endif
###############################################
# Configurations that shouldn’t change:
###############################################
# suppress warnings like:
# sha.c:52: warning: conflicting types for built-in function memset
CFLAG += -fno-builtin -m32 -I $(LEVEL)/lib/include/
# for ubuntu 11.10 header files
CFLAG += -I/usr/include/i386-linux-gnu
99
# location of mips libraries
MIPS_LIB = $(LEVEL)/../tiger/linux_tools/lib