Added tool to compile to single header

This commit is contained in:
Leonetienne 2021-06-04 02:19:36 +02:00
parent 359463682f
commit 832a2c53f8
2 changed files with 8 additions and 0 deletions

BIN
INCLUDE/deggl Normal file

Binary file not shown.

8
INCLUDE/generate.sh Normal file
View File

@ -0,0 +1,8 @@
# Build the include files
echo Buildin 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