From 89e906fae017392b9b7b6ed0e52c70cf94e030b4 Mon Sep 17 00:00:00 2001 From: BennyQBD Date: Wed, 9 Jul 2014 07:42:07 -0400 Subject: [PATCH] Included Basic MakeFile --- Makefile | 4 ++++ Unix-BuildDebug.sh | 20 ++++++++++++++++++++ run | 3 +++ 3 files changed, 27 insertions(+) create mode 100644 Makefile create mode 100755 Unix-BuildDebug.sh create mode 100755 run diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5a9faa9 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +all: + ./Unix-BuildDebug.sh +clean: + ./Unix-Clean.sh diff --git a/Unix-BuildDebug.sh b/Unix-BuildDebug.sh new file mode 100755 index 0000000..f8e8cda --- /dev/null +++ b/Unix-BuildDebug.sh @@ -0,0 +1,20 @@ +# Copyright (C) 2014 Benny Bobaganoosh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#This version of the build script is hardcoded to the debug version so +#it can be used by the Makefile +cd build +cmake -DCMAKE_BUILD_TYPE="Debug" ../ +make -j 4 +mv ../res/ ./ diff --git a/run b/run new file mode 100755 index 0000000..ae32c79 --- /dev/null +++ b/run @@ -0,0 +1,3 @@ +cd ./build +./3DEngineCpp +cd ../