From 4d601f5ad6b4ed1ead9d38c712267d25c44b9793 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 1 Apr 2026 22:18:50 +0300 Subject: [PATCH] Also added a makefile --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c4473ed --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +all: + cc command.cpp input_resolver.cpp main.cpp -lstdc++ -std=c++17 -O3 -L./ -lCalc -o calculator + +libs: + cc -c -fPIC basecalc.cpp Operation.cpp + cc -shared basecalc.o Operation.o -o libCalc.so + +compile: + cc *.cpp -O3 -c + +debug: + cc *.cpp -g -std=c++17 -o calculator -lstdc++ \ No newline at end of file