From 78cac1e25c20116477320fd1f327edf21c66ca4d Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 4 May 2023 23:34:05 +0400 Subject: [PATCH] Move files to "src/" --- .gitignore | 2 +- Makefile | 16 ++++++++-------- builtins.c => src/builtins.c | 0 builtins.h => src/builtins.h | 0 ctype.c => src/ctype.c | 0 ctype.h => src/ctype.h | 0 enums.c => src/enums.c | 0 enums.h => src/enums.h | 0 lexer.c => src/lexer.c | 0 lexer.h => src/lexer.h | 0 main.c => src/main.c | 0 object.c => src/object.c | 0 object.h => src/object.h | 0 parser.c => src/parser.c | 0 parser.h => src/parser.h | 0 tokens.c => src/tokens.c | 0 tokens.h => src/tokens.h | 0 17 files changed, 9 insertions(+), 9 deletions(-) rename builtins.c => src/builtins.c (100%) rename builtins.h => src/builtins.h (100%) rename ctype.c => src/ctype.c (100%) rename ctype.h => src/ctype.h (100%) rename enums.c => src/enums.c (100%) rename enums.h => src/enums.h (100%) rename lexer.c => src/lexer.c (100%) rename lexer.h => src/lexer.h (100%) rename main.c => src/main.c (100%) rename object.c => src/object.c (100%) rename object.h => src/object.h (100%) rename parser.c => src/parser.c (100%) rename parser.h => src/parser.h (100%) rename tokens.c => src/tokens.c (100%) rename tokens.h => src/tokens.h (100%) 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