diff options
author | Freya Murphy <freya@freyacat.org> | 2024-09-09 12:41:49 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-09-09 12:41:49 -0400 |
commit | 2ed275821676a0d5baea6c7fd843d71c72c2342c (patch) | |
tree | 480297f28e5c42d02a47b3b94027a7abe507d010 /config.mk | |
download | mips-2ed275821676a0d5baea6c7fd843d71c72c2342c.tar.gz mips-2ed275821676a0d5baea6c7fd843d71c72c2342c.tar.bz2 mips-2ed275821676a0d5baea6c7fd843d71c72c2342c.zip |
initial mips32 (r2000ish mips32r6) assembler
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..682002b --- /dev/null +++ b/config.mk @@ -0,0 +1,24 @@ +# ======================= COMPILE OPTIONS == + +CC=cc +LD=cc + +CFLAGS += -pipe +CFLAGS += -Wall -Wextra -pedantic +CFLAGS += -O3 -g + +# ======================== 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 |