mirror of
https://github.com/pnx/m16vm
synced 2026-06-16 03:44:55 +02:00
Initial commit
This commit is contained in:
commit
2ba17c52bd
16 changed files with 683 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
CC = gcc
|
||||
CFLAGS = -DMEM_SIZE=32
|
||||
LD = $(CC)
|
||||
|
||||
VM = m16vm
|
||||
|
||||
$(VM) : src/vm.o src/cpu.o src/mm.o src/instr.o src/syscall.o
|
||||
$(LD) $(LDFLAGS)-o $@ $^
|
||||
|
||||
clean :
|
||||
$(RM) src/*.o
|
||||
|
||||
distclean : clean
|
||||
$(RM) $(VM)
|
||||
Loading…
Add table
Add a link
Reference in a new issue