summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-04-09 02:06:50 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-04-09 02:06:50 -0400
commitc5150ee31f07208422f1435de9b35a0d0168cbb5 (patch)
tree78150bf0339cf81401c00973f96c94a3c231015e /Makefile
parent59dc46ca8fe1eb6f98abb98fe8579aeaedd2ff15 (diff)
Completely changed the assembler.
It now has a lexer/tokenizer, along with a parser. I have also made the emulator even smaller.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9b7ebb0..4aee289 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,9 @@ else
PCC_CFLAGS=
endif
+
CFLAGS = $(PCC_CFLAGS) $(CFLAGS_EXTRA)
-OBJS = asmmon.o sux.o
+OBJS = sux.o asmmon.o lexer.o
OBJS2 = subasm.o subeditor.o
OBJ_NAME = cisc-0.2
OBJ_NAME2 = subeditor-c
@@ -21,6 +22,8 @@ sux.o :
$(CC) sux.c -c $(CFLAGS) -o sux.o
asmmon.o :
$(CC) asmmon.c -c $(CFLAGS) -o asmmon.o
+lexer.o :
+ $(CC) lexer.c -c $(CFLAGS) -o lexer.o
subasm.o :
$(CC) programs/c-ports/subasm.c -c $(CFLAGS) -o subasm.o
subeditor.o :