diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..23fd10a --- /dev/null +++ b/makefile @@ -0,0 +1,9 @@ +INCLUDE_DIRS=-I . +main.exe : main.c lexer.o queue.o + gcc main.c lexer.o queue.o -o main.exe ${INCLUDE_DIRS} +lexer.o : lexer.c lexer.h + gcc -c lexer.c -o lexer.o ${INCLUDE_DIRS} +queue.o : queue.c queue.h + gcc -c queue.c -o queue.o ${INCLUDE_DIRS} +clear: + rm -rf lexer.o main.exe queue.o |