2024-09-09 16:41:49 +00:00
|
|
|
# ======================= COMPILE OPTIONS ==
|
|
|
|
|
|
|
|
CC=cc
|
|
|
|
LD=cc
|
|
|
|
|
|
|
|
CFLAGS += -pipe
|
|
|
|
CFLAGS += -Wall -Wextra -pedantic
|
2024-09-10 00:48:08 +00:00
|
|
|
CFLAGS += -O0 -g
|
2024-09-09 16:41:49 +00:00
|
|
|
|
|
|
|
# ======================== CONFIG OPTIONS ==
|
|
|
|
#
|
|
|
|
# MAX LEX LENGTH
|
|
|
|
# Specifies how long a ident, register,
|
|
|
|
# instruction name, or any type of variable
|
|
|
|
# length text can be inside the lexer
|
|
|
|
#
|
|
|
|
# CFLAGS+= -DMAX_LEX_LENGTH=24
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# MAX_ARG_LENGTH
|
|
|
|
# Specifies how many max arguments a given
|
|
|
|
# directive can hold
|
|
|
|
#
|
|
|
|
# CFLAGS+= -DMAX_ARG_LENGTH=12
|