-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGlobal.mk
More file actions
18 lines (14 loc) · 701 Bytes
/
Copy pathGlobal.mk
File metadata and controls
18 lines (14 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC := gcc
LD := ld
AR := ar
PYTHON := python
CSCOPE := cscope
CFLAGS += -fno-builtin -nostdinc -ansi -g3 -fno-stack-protector -m32 -march=i686 -fsigned-char -Iinclude
CFLAGS += -Wall -Wredundant-decls -Wundef -Wpointer-arith -Wfloat-equal -Wnested-externs -Wvla -Winline -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable -Wno-attributes
ASFLAGS := -D__ASSEMBLY__
###
include ../Config.mk
CFLAGS += $(foreach bool,$(COMPILE_CONFIG_BOOLS), \
$(if $(findstring 1,$($(bool))),-D__$(bool)__=$(strip $($(bool)))))
CFLAGS += $(foreach def,$(COMPILE_CONFIG_DEFS), \
$(if $($(def)),-D__$(def)__=$(strip $($(def))),))