initial commit.
This commit is contained in:
commit
c74c452362
17 changed files with 4983 additions and 0 deletions
18
build.sh
Executable file
18
build.sh
Executable 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue