aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-14 17:22:34 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-14 17:25:28 +0630
commit72ef40e6718cbe309a8fe6f32ac31adb1a40dda2 (patch)
tree1cd7b248e0fbad33c0023b4a85142456632b4f60 /Makefile
parent86e9d51ab0b9ed2c5ccd1cf5f06fa3f3448c8f31 (diff)
downloadovm-72ef40e6718cbe309a8fe6f32ac31adb1a40dda2.tar.gz
ovm-72ef40e6718cbe309a8fe6f32ac31adb1a40dda2.tar.bz2
ovm-72ef40e6718cbe309a8fe6f32ac31adb1a40dda2.zip
parser -> preprocesser + parser
I've decided to split the module parsing into two modules, one for the preprocessing stage which only deals with tokens and the parsing stage which generates bytecode.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e0c076b..609fc40 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ VM_OUT=$(DIST)/ovm.out
## ASSEMBLY setup
ASM_DIST=$(DIST)/asm
ASM_SRC=asm
-ASM_CODE:=$(addprefix $(ASM_SRC)/, lexer.cpp)
+ASM_CODE:=$(addprefix $(ASM_SRC)/, lexer.cpp, preprocesser.cpp)
ASM_OBJECTS:=$(ASM_CODE:$(ASM_SRC)/%.cpp=$(ASM_DIST)/%.o)
ASM_DEPS:=$(ASM_OBJECTS:%.o=%.d) $(ASM_DIST)/main.d
ASM_CFLAGS=$(CPPFLAGS)