placed projects into docs folder

This commit is contained in:
Derek Tan
2024-06-29 17:25:24 -04:00
parent 33a076c750
commit c5f5f969a4
48 changed files with 0 additions and 59 deletions

View File

@ -1,25 +0,0 @@
#!/bin/bash
# Use this script to compile your .cc files in dependency order
# Arguments:
# $1 = name of file containing list of .cc files
# $2 = name of the output file
cxx="g++-11"
cxxflags="-std=c++20 -fmodules-ts -Wall -g"
if [ $# -lt 1 ]; then
echo "Usage: $0 list-filename [output-name]" 1>&2
exit 1
fi
if [ $# -eq 2 ]; then
name="-o $2"
fi
for x in $(cat $1); do
$cxx $cxxflags -c $x
done
$cxx *.o $name