diff --git a/lisp b/lisp new file mode 100755 index 0000000..37a4ec9 Binary files /dev/null and b/lisp differ diff --git a/lisp.c b/lisp.c deleted file mode 100644 index e69de29..0000000 diff --git a/makefile b/makefile index 809fe05..0b24ede 100644 --- a/makefile +++ b/makefile @@ -9,14 +9,14 @@ CC=tcc # much faster compilation than gcc ## Main file -SRC=lisp.c +SRC=./src/lisp.c ## Formatter STYLE_BLUEPRINT=webkit FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT) build: $(SRC) - $(cc) $(src) -o lisp + $(CC) $(SRC) -o lisp format: $(SRC) $(FORMATTER) $(SRC) diff --git a/src/lisp.c b/src/lisp.c new file mode 100644 index 0000000..6310cd9 --- /dev/null +++ b/src/lisp.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char** argv){ + puts("Hello world!"); + return 0; +}