From a3e36c1918e63761dfc4d2221cca3636b98e93aa Mon Sep 17 00:00:00 2001 From: Adam Branes Date: Sun, 2 May 2021 17:45:58 +0300 Subject: initial housekeeping done --- makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 makefile (limited to 'makefile') 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 -- cgit v1.2.3