diff --git a/.gitignore b/.gitignore index b54616a..ef15c29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/*.o +/src/*.o /lisp diff --git a/Makefile b/Makefile index 8d4cd72..3c0e9af 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,14 @@ CC = gcc CFLAGS = -Wall -Wextra OBJS = \ - builtins.c.o \ - ctype.c.o \ - enums.c.o \ - lexer.c.o \ - main.c.o \ - object.c.o \ - parser.c.o \ - tokens.c.o + src/builtins.c.o \ + src/ctype.c.o \ + src/enums.c.o \ + src/lexer.c.o \ + src/main.c.o \ + src/object.c.o \ + src/parser.c.o \ + src/tokens.c.o run: lisp ./lisp diff --git a/builtins.c b/src/builtins.c similarity index 100% rename from builtins.c rename to src/builtins.c diff --git a/builtins.h b/src/builtins.h similarity index 100% rename from builtins.h rename to src/builtins.h diff --git a/ctype.c b/src/ctype.c similarity index 100% rename from ctype.c rename to src/ctype.c diff --git a/ctype.h b/src/ctype.h similarity index 100% rename from ctype.h rename to src/ctype.h diff --git a/enums.c b/src/enums.c similarity index 100% rename from enums.c rename to src/enums.c diff --git a/enums.h b/src/enums.h similarity index 100% rename from enums.h rename to src/enums.h diff --git a/lexer.c b/src/lexer.c similarity index 100% rename from lexer.c rename to src/lexer.c diff --git a/lexer.h b/src/lexer.h similarity index 100% rename from lexer.h rename to src/lexer.h diff --git a/main.c b/src/main.c similarity index 100% rename from main.c rename to src/main.c diff --git a/object.c b/src/object.c similarity index 100% rename from object.c rename to src/object.c diff --git a/object.h b/src/object.h similarity index 100% rename from object.h rename to src/object.h diff --git a/parser.c b/src/parser.c similarity index 100% rename from parser.c rename to src/parser.c diff --git a/parser.h b/src/parser.h similarity index 100% rename from parser.h rename to src/parser.h diff --git a/tokens.c b/src/tokens.c similarity index 100% rename from tokens.c rename to src/tokens.c diff --git a/tokens.h b/src/tokens.h similarity index 100% rename from tokens.h rename to src/tokens.h