first commit

This commit is contained in:
yoyo
2024-11-03 06:24:26 +09:00
parent b8ffc0632a
commit f4b991f953
24 changed files with 5316 additions and 0 deletions

12
vm/makefile Normal file
View File

@@ -0,0 +1,12 @@
CFLAGS= -g -O0 -std=c99 -Wall -Wextra -I ../
SRCS=$(wildcard *.c)
OBJS=$(SRCS:.c=.o)
run: $(OBJS)
$(CC) $(CFLAGS) -o $@ $^
$(OBJS): vm.h ../isa.h
clean:
rm -f run $(OBJS)