1
0
Fork 0
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:
Henrik Hautakoski 2018-11-01 14:57:10 +01:00
parent 817642b7e4
commit cf752ab682
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
5 changed files with 32 additions and 7 deletions

View file

@ -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 :