[7f9531]: makevars.inc  Maximize  Restore  History

Download this file

64 lines (56 with data), 1.7 kB

 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#~~syntax:makefile
CC := gcc
CXX := g++
CFLAGS := -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
-D_REENTRANT -DPIC -Wall -Waggregate-return \
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls \
-Wshadow -Wstrict-prototypes -Winline -fPIC -pipe
CXXFLAGS := -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
-D_REENTRANT -DPIC -Wall -Wmissing-prototypes \
-Wredundant-decls -Wstrict-prototypes -fPIC -pipe
AS := gcc # as
ASFLAGS :=
LD := gcc # ld
LDXX := g++ # ld
LDFLAGS :=
SOFLAGS := -shared
AR := ar
ARFLAGS :=
CP := cp
LN := ln
TOUCH := touch
ifeq (${DEBUG},1)
CFLAGS += -ggdb3
CXXFLAGS += -ggdb3
ASFLAGS += -ggdb3
STRIP := @true
else
CFLAGS += -O2 -finline-functions -fomit-frame-pointer
CXXFLAGS += -O2 -finline-functions -fomit-frame-pointer
ASFLAGS += -O2 -finline-functions -fomit-frame-pointer
STRIP := strip -s
endif
ifeq (${PROF},1)
CFLAGS += -pg -fprofile-arcs -ftest-coverage
CXXFLAGS += -pg -fprofile-arcs -ftest-coverage
ASFLAGS += -pg -fprofile-arcs -ftest-coverage
STRIP := @true
endif
ifeq (${V},)
CC := @${CC}
CXX := @${CXX}
AS := @${AS}
LD := @${LD}
LDXX := @${LDXX}
AR := @${AR}
CP := @${CP}
LN := @${LN}
STRIP := @${STRIP}
TOUCH := @${TOUCH}
VECHO_DEP = @echo " DEP " $@
VECHO_CC = @echo " CC " $@
VECHO_AS = @echo " AS " $@
VECHO_LD = @echo " LD " $@
VECHO_AR = @echo " AR " $@
endif
#==============================================================================

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks