diff options
author | Adam Branes <adam@adam> | 2021-05-02 17:45:58 +0300 |
---|---|---|
committer | Adam Branes <adam@adam> | 2021-05-02 17:45:58 +0300 |
commit | a3e36c1918e63761dfc4d2221cca3636b98e93aa (patch) | |
tree | 143722876a02156b0b423de6248298b5cf8c0707 /makefile | |
download | MEGATRON-a3e36c1918e63761dfc4d2221cca3636b98e93aa.tar.gz |
initial housekeeping done
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 |