finished migrating BCI-base and BCI-assembler
This commit is contained in:
parent
db0a1b5d45
commit
e12be1653c
|
@ -1,9 +1,9 @@
|
|||
CC=gcc
|
||||
CFLAG= -c -g -O -I ../interpreter -o
|
||||
objects=../interpreter/stack.o \
|
||||
../interpreter/interpreter/core_methods.o \
|
||||
../interpreter/interpreter/interpreter.o \
|
||||
../interpreter/method_dispatcher/method_dispatcher.o \
|
||||
CFLAG= -c -g -O -I ../interpreter/interpreter -o
|
||||
objects=../interpreter/interpreter/stack.o \
|
||||
../interpreter/interpreter/interpreter/core_methods.o \
|
||||
../interpreter/interpreter/interpreter/interpreter.o \
|
||||
../interpreter/interpreter/method_dispatcher/method_dispatcher.o \
|
||||
main.o
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@ clean:
|
|||
- rm code.bin
|
||||
- rm main
|
||||
lib:
|
||||
cd ../interpreter && make -s
|
||||
cd ../interpreter/interpreter && make -s
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAG) $@ $<
|
||||
|
@ -21,7 +21,7 @@ main: main.o
|
|||
$(CC) -O -g $(objects) -o main
|
||||
|
||||
test: main code.bin
|
||||
cd ../assembler && make test
|
||||
cd ../assembler/assembler && make test
|
||||
valgrind ./main
|
||||
|
||||
code.bin:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import sys
|
||||
from io import StringIO
|
||||
|
||||
sys.path.append("../assembler")
|
||||
sys.path.append("../assembler/assembler")
|
||||
from assembler.assembler import Assembler
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user