summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2019-11-30 19:57:46 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2019-11-30 19:57:46 -0500
commitca89989d057a19b647514656d96d00ff23be9640 (patch)
tree1259b343d60680a4354a1a54b90d0d7418af770b /Makefile
parent10ec62e8025eb43d1a096fb0962049670c3c148c (diff)
Start work on rev2 of Sux.
Added a prefix byte to tell the CPU certain information such as, how many bytes to load into the registers, or what ISA extension we want to use. I also added an assembly language monitor, so that I don't have to write stuff in machine code.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e83e8b2..df46e69 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ PCC_CFLAGS=
endif
CFLAGS = $(PCC_CFLAGS) $(CFLAGS_EXTRA)
-OBJS = opcode.o sux.o
+OBJS = asmmon.o opcode.o sux.o
OBJ_NAME = cisc-0.2
all : $(OBJS)
$(CC) $(OBJS) $(CFLAGS) -o $(OBJ_NAME)
@@ -16,6 +16,8 @@ sux.o :
$(CC) sux.c -c $(CFLAGS) -o sux.o
opcode.o :
$(CC) opcode.c -c $(CFLAGS) -o opcode.o
+asmmon.o :
+ $(CC) asmmon.c -c $(CFLAGS) -o asmmon.o
clean :
rm -f $(OBJ_NAME) $(OBJS)
install :