Optimized generate.sh

This commit is contained in:
Leonetienne 2021-06-04 02:37:46 +02:00
parent 41f67decdb
commit 2a9e2f2459

View File

@ -1,8 +1,7 @@
# Build the include files
echo Buildin the include files...
echo "Building the include files..."
echo ../Hazelnupp/*.cpp | sed 's/\.\.\/Hazelnupp\/main\.cpp//g' | xargs deggl -o Hazelnupp -i
# Verify that they compile cleanly
echo Verifying that they compile
g++ Hazelnupp.cpp -c -Wall -Wextra -Wpedantic
rm -f Hazelnupp.o
echo "Verifying that they compile"
g++ Hazelnupp.cpp -c -S -o - -Wall -Wextra -Wpedantic > /dev/null