diff --git a/lab1/Justfile b/lab1/Justfile new file mode 100644 index 0000000..1ab8b38 --- /dev/null +++ b/lab1/Justfile @@ -0,0 +1,18 @@ +all: a1 a2 a3 a4 + +a1: + g++ -o hello hello.cc + ./hello +a2: + g++ -std=c++11 -o separate_main separate_main.cc separate_fn.cc + +a3: + g++ -std=c++11 -c separate_main.cc + g++ -std=c++11 -c separate_fn.cc + g++ -std=c++11 -o separate_main separate_main.o separate_fn.o + +a4: + g++ -std=c++11 -o separate_main separate_main.cc + +a5: + g++ -c -O2 -Wall -Wextra -pedantic-errors -Wold-style-cast -std=c++11 hello.cc