DESC="Generate Object File from source file and link it afterwards"
main(){
	if  ( ${AGCC} -v2 --path src -c  -o Test03.o src/Test.cc );then true;else
		ERR_MSG="Failed executing '${AGCC} -v2 --path src -c  -o Test.o src/Test.cc'";
		return 0;
	fi;
	
	
	if [ ! -f Test03.o ];then
		ERR_MSG="Object file was not created";
		return 0;
	fi;
	
	
	if [  -f src/Test.acc ];then
		ERR_MSG="Intermediate .acc file was not deleted";
		return 0;
	fi;
	
	
	if  ( ${AGCC} -v2 --path src -o test03 Test03.o src/main.cc);then true;else
		ERR_MSG="Failed executing '${AGCC} -v2 --path src -o test Test03.o src/main.cc'";
	fi
	
	
	if [ ! -e test03 ];then
		ERR_MSG="Executble 'test03' was not created";
		return 0;
	fi;
	
	rm -f Test03.o test03

	return 1;
}
