mirror of
https://github.com/pnx/m16vm
synced 2026-06-17 03:50:03 +02:00
move src/instr.h to include/instr.h because it will be needed by assembler for code generation.
This commit is contained in:
parent
817642b7e4
commit
cf752ab682
5 changed files with 32 additions and 7 deletions
4
Makefile
4
Makefile
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
CC = gcc
|
||||
CFLAGS = -DMEM_SIZE=32
|
||||
CFLAGS = -Iinclude -DMEM_SIZE=32
|
||||
LD = $(CC)
|
||||
|
||||
VM = m16vm
|
||||
|
||||
$(VM) : src/vm.o src/cpu.o src/mm.o src/instr.o src/syscall.o src/program.o
|
||||
$(VM) : src/vm.o src/cpu.o src/mm.o src/instr_decode.o src/syscall.o src/program.o
|
||||
$(LD) $(LDFLAGS)-o $@ $^
|
||||
|
||||
clean :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue