diff options
author | Galin Simeonov <gts@volconst.com> | 2021-05-17 17:29:08 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-07-15 18:00:15 +0300 |
commit | f768d9bdb84e846d89aac66a4f3433a44241c298 (patch) | |
tree | b7e8248bebd80c8b1f911f666260ad52b7213b84 /makefile | |
parent | 679cbe58c4e53f0163588a7731154f3afe2d25aa (diff) | |
download | MEGATRON-f768d9bdb84e846d89aac66a4f3433a44241c298.tar.gz |
parser formed
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,7 +1,7 @@ INCLUDE_DIRS=-I . CFLAGS="-g" -main.exe : main.c lexer.o queue.o print.o program.o - gcc ${CFLAGS} main.c lexer.o queue.o print.o program.o -o main.exe ${INCLUDE_DIRS} +main.exe : main.c lexer.o queue.o print.o program.o parser.o map.o stack.o + gcc ${CFLAGS} main.c lexer.o queue.o print.o program.o parser.o map.o stack.o -o main.exe ${INCLUDE_DIRS} lexer.o : lexer.c lexer.h gcc ${CFLAGS} -c lexer.c -o lexer.o ${INCLUDE_DIRS} queue.o : queue.c queue.h @@ -10,6 +10,11 @@ print.o : print.c print.h gcc ${CFLAGS} -c print.c -o print.o ${INCLUDE_DIRS} program.o : program.c program.h gcc ${CFLAGS} -c program.c -o program.o ${INCLUDE_DIRS} - +parser.o : parser.c parser.h + gcc ${CFLAGS} -c parser.c -o parser.o ${INCLUDE_DIRS} +map.o : map.c map.h + gcc ${CFLAGS} -c map.c -o map.o ${INCLUDE_DIRS} +stack.o : stack.c stack.h + gcc ${CFLAGS} -c stack.c -o stack.o ${INCLUDE_DIRS} clear: - rm -rf lexer.o main.exe queue.o print.o program.o + rm -rf lexer.o main.exe queue.o print.o program.o parser.o map.o stack.o |