summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.mk24
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