Justfile for convenience

This commit is contained in:
Imbus 2024-11-11 18:06:14 +01:00
parent b72f78839c
commit bdc3832fd1

18
lab1/Justfile Normal file
View file

@ -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