Enable raw mode access for VM interactions

This commit is contained in:
Jeremiah Orians 2016-08-21 19:23:45 -04:00
parent 6a7436a09c
commit cd1816c9b1
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD
2 changed files with 2 additions and 4 deletions

View File

@ -1,10 +1,10 @@
all: libvm vm
libvm: wrapper.c vm_instructions.c vm_decode.c vm.h tty.c
gcc -ggdb -shared -Wl,-soname,libvm.so -o libvm.so -fPIC wrapper.c vm_instructions.c vm_decode.c vm.h tty.c
gcc -ggdb -Dtty_lib=true -shared -Wl,-soname,libvm.so -o libvm.so -fPIC wrapper.c vm_instructions.c vm_decode.c vm.h tty.c
vm: vm.h vm.c vm_instructions.c vm_decode.c tty.c
gcc -ggdb vm.h vm.c vm_instructions.c vm_decode.c tty.c -o bin/vm
gcc -ggdb -Dtty_lib=true vm.h vm.c vm_instructions.c vm_decode.c tty.c -o bin/vm
production: libvm-production vm-production

2
tty.c
View File

@ -8,8 +8,6 @@
* wish to use. Please note that they contain bugs *
****************************************************/
#define tty_lib true
/* In order to restore at exit.*/
static struct termios orig_termios;