From f768d9bdb84e846d89aac66a4f3433a44241c298 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Mon, 17 May 2021 17:29:08 +0300 Subject: parser formed --- makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 457b589..354eed1 100644 --- a/makefile +++ b/makefile @@ -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 -- cgit v1.2.3