From c5150ee31f07208422f1435de9b35a0d0168cbb5 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Thu, 9 Apr 2020 02:06:50 -0400 Subject: Completely changed the assembler. It now has a lexer/tokenizer, along with a parser. I have also made the emulator even smaller. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 : -- cgit v1.2.3-13-gbd6f