Welcome to mirror list, hosted at ThFree Co, Russian Federation.

makefile.unix-gcc « config « dist « ode « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b9d0763235303789c2c651046248496d15faf8dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
THIS_DIR=./
DEL_CMD=rm -f
CC=gcc
OBJ=.o
C_FLAGS=-c -Wall -fno-rtti -fno-exceptions -Wall
C_INC=-I
C_OUT=-o 
C_EXEOUT=-o 
C_DEF=-D
C_OPT=-O
AR=ar rc 
RANLIB=
LIB_PREFIX=lib
LIB_SUFFIX=.a
LINK_OPENGL=-L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib/X11R6 -L/usr/lib/X11 -lX11 -lGL -lGLU
LINK_MATH=-lm

ifeq ($(BUILD),release)
OPT=2
C_FLAGS+=-fomit-frame-pointer -ffast-math
endif

ifeq ($(BUILD),debug)
OPT=0
C_FLAGS+=-g
endif

# some other possible flags:
#   -malign-double -mpentiumpro -march=pentiumpro