To build run the command make
, this will build the tool in release mode.
The available targets are the following:
-
default
- Default target, runs the
release
target
- Default target, runs the
-
prepare
- Creates the directory
obj/
and creates the .obj files from the source files in the new directory.
- Creates the directory
-
debug
- Compiles without obj files (for debugging reasons)
- Creates the directory
out/
and compiles BSTtest withbinary_tree.cpp
andmy_test.obj
to the newly created dir and setsDEBUG
.
-
release
- Runs the
clean
andprepare
targets- Compiles BSTtest with
binary_tree.obj
andtest.cpp
to the newly created dir and setsRELEASE
.
- Compiles BSTtest with
- Runs the
-
clean
- Deletes
out/
andobj/
and with it all the previously compiled filed.
- Deletes
-
tests
- Runs the targets
prepare
,release
and then runs the program without/BSTtest
- Runs the targets
The makefile is prepared for building with g++, if you don't have g++ installed, either change the appropriate values in the makefile to compile with your preferred compiler or install g++.
This project was developed as a coursework for the Programming Fundamentals Module
Edinburgh Napier University @ 2016
Antero Duarte - Beng Computing