1 2 3 4 5 6 7 8 9 10 11 12
.PHONY: run run: clang++ -g -std=c++17 *.cpp -o main chmod 744 /home/runner/main /home/runner/main #made by https://repl.it/@SPQR # Line 4 is the line where the file is compiled. # To use a different filetype you'd change the 'cpp' in *.cpp to whatever the extension is. # You'd also want to change clang++ to whatever compiler your language uses on here. # You can add whatever compilation flags you want.