diff options
author | Adam Branes <adam@adam> | 2021-05-02 17:46:29 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-07-15 18:00:07 +0300 |
commit | 679cbe58c4e53f0163588a7731154f3afe2d25aa (patch) | |
tree | a2dbc2317a3f107899d60f5e68c8d6cf8d27e146 /makefile | |
parent | a3e36c1918e63761dfc4d2221cca3636b98e93aa (diff) | |
download | MEGATRON-679cbe58c4e53f0163588a7731154f3afe2d25aa.tar.gz |
lexer formed
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -1,9 +1,15 @@ INCLUDE_DIRS=-I . -main.exe : main.c lexer.o queue.o - gcc main.c lexer.o queue.o -o main.exe ${INCLUDE_DIRS} +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} lexer.o : lexer.c lexer.h - gcc -c lexer.c -o lexer.o ${INCLUDE_DIRS} + gcc ${CFLAGS} -c lexer.c -o lexer.o ${INCLUDE_DIRS} queue.o : queue.c queue.h - gcc -c queue.c -o queue.o ${INCLUDE_DIRS} + gcc ${CFLAGS} -c queue.c -o queue.o ${INCLUDE_DIRS} +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} + clear: - rm -rf lexer.o main.exe queue.o + rm -rf lexer.o main.exe queue.o print.o program.o |