Update template
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
94f9d41e5e
commit
1c1b4eea01
@ -9,7 +9,7 @@ fi
|
||||
if [ ! -f "pixelGameEngine.o" ]
|
||||
then
|
||||
printf "Pixel Game Engine compile object missing. Compiling for the first time..."
|
||||
g++ -c pixelGameEngine.cpp
|
||||
g++ ${CUSTOM_PARAMS} -c pixelGameEngine.cpp
|
||||
fi
|
||||
if [ "$1" = "test" ]
|
||||
then
|
||||
@ -21,7 +21,7 @@ then
|
||||
elif [ "$1" = "full" ]
|
||||
then
|
||||
echo "" > ./test/test.h
|
||||
g++ -c pixelGameEngine.cpp
|
||||
g++ ${CUSTOM_PARAMS} -c pixelGameEngine.cpp
|
||||
if g++ $(find . -type f -name "*.cpp" -not -path "./test/*" -not -name "pixelGameEngine.cpp") pixelGameEngine.o ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
|
||||
./${PROJECT_NAME} "$@"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user