This commit is contained in:
+2
-2
@@ -33,7 +33,7 @@ if cc.get_id() == 'clang'
|
||||
endif
|
||||
|
||||
# Include directory
|
||||
inc_dir = include_directories('include', 'lisp-interpreter/dist')
|
||||
inc_dir = include_directories('include')
|
||||
|
||||
# Source files
|
||||
src_files = files(
|
||||
@@ -49,7 +49,7 @@ src_files = files(
|
||||
)
|
||||
|
||||
# Executable
|
||||
executable('editor',
|
||||
executable('beluga',
|
||||
src_files,
|
||||
include_directories : inc_dir,
|
||||
install : true,
|
||||
|
||||
+7
-2
@@ -1,7 +1,6 @@
|
||||
#include "../include/init.h"
|
||||
#include "data.h"
|
||||
#include "../include/data.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
extern struct editorConfig;
|
||||
|
||||
@@ -21,4 +20,10 @@ void initEditor() {
|
||||
die("getWindowSize");
|
||||
}
|
||||
E.screenrows -= 2;
|
||||
|
||||
// E.fd_init_file = fopen("../config/init.el", "r");
|
||||
|
||||
// E.ctx = lisp_init();
|
||||
// E.ctx_data = lisp_read_file(E.fd_init_file, &E.ctx_error, E.ctx);
|
||||
// lisp_printf(stderr, E.ctx_data);
|
||||
}
|
||||
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
#include "../include/terminal.h"
|
||||
#include "data.h"
|
||||
#include "../include/data.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void die(const char *s) {
|
||||
write(STDOUT_FILENO, "\x1b[2J", 4);
|
||||
|
||||
Reference in New Issue
Block a user