initial commit.

This commit is contained in:
siriusfox 2022-07-02 17:30:47 -07:00
commit c74c452362
17 changed files with 4983 additions and 0 deletions

18
build.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash
export IFS=$'\n'
mkdir -p build
if [[ ! -e build/res ]]; then
ln -s ../res build/res
fi
SRC_FILES=($(find src/ -iname "*.c" -or -iname "*.cpp"))
g++ -g -fdiagnostics-color=always \
-Iinclude \
${SRC_FILES[@]} \
mybox.cpp \
-ldl -lglfw -lGL -lX11 -lpthread -lXrandr -lXi -lm \
-o build/main